mirror of
https://github.com/NixOS/nix
synced 2025-07-17 22:48:29 +02:00
* Argument support in Fix. Arguments can be passed through the
builder using the `args' binding: ("args", ["bla", True, IncludeFix("aterm/aterm.fix")]) Note that packages can also be declared as inputs by specifying them in the argument list.
This commit is contained in:
parent
555347744d
commit
96c7b98bf0
3 changed files with 61 additions and 20 deletions
7
testpkgs/args/args.fix
Normal file
7
testpkgs/args/args.fix
Normal file
|
@ -0,0 +1,7 @@
|
|||
Package(
|
||||
[ ("name", "args")
|
||||
, ("build", Relative("args/args-build.sh"))
|
||||
|
||||
, ("args", ["1", "2", "3", IncludeFix("slow2/slow.fix")])
|
||||
]
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue