* 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
11
testpkgs/args/args-build.sh
Executable file
11
testpkgs/args/args-build.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#! /bin/sh
|
||||
|
||||
IFS=
|
||||
|
||||
echo "printing list of args"
|
||||
|
||||
for i in $@; do
|
||||
echo "arg: $i"
|
||||
done
|
||||
|
||||
touch $out
|
||||
Loading…
Add table
Add a link
Reference in a new issue