Merge pull request #262 from toraritte/patch-1
Add nix-shell installation options in Readme
This commit is contained in:
commit
a7ddac2ce8
2 changed files with 14 additions and 1 deletions
13
Readme.md
13
Readme.md
|
@ -69,6 +69,19 @@ pip install git+git://github.com/DavHau/mach-nix@3.2.0
|
|||
```shell
|
||||
nix-env -if https://github.com/DavHau/mach-nix/tarball/3.2.0 -A mach-nix
|
||||
```
|
||||
or, if you prefer `nix-shell`:
|
||||
|
||||
+ if [Nix flakes is enabled](https://nixos.wiki/wiki/Flakes#:~:text=Installing%20flakes):
|
||||
|
||||
```shell
|
||||
nix shell github:DavHau/mach-nix
|
||||
```
|
||||
|
||||
+ otherwise:
|
||||
|
||||
```shell
|
||||
nix-shell -p '(callPackage (fetchTarball https://github.com/DavHau/mach-nix/tarball/3.2.0) {}).mach-nix'
|
||||
```
|
||||
|
||||
---
|
||||
### Build a virtualenv-style python environment from a requirements.txt
|
||||
|
|
|
@ -1 +1 @@
|
|||
master
|
||||
patch-1
|
Loading…
Reference in a new issue