Skip to content

Commit

Permalink
README: How to generate a nix expression from a list of requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
edjroot authored Jun 27, 2022
1 parent 552d4ca commit d575bdf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ mach-nix gen -r requirements.txt
...to print out the nix expression which defines a python derivation (optionally use `-o` to define an `output file`)

---
### Generate a nix expression from a list of requirements
+ if [Nix flakes is enabled](https://nixos.wiki/wiki/Flakes#:~:text=Installing%20flakes):

```shell
nix (build|shell) mach-nix#gen.(python|docker).package1.package2...
```
---

## Usage in Nix Expression

Expand Down

0 comments on commit d575bdf

Please sign in to comment.