[Nix-dev] Passing args to builder.sh

Anderson Torres torres.anderson.85 at gmail.com
Sat May 10 14:43:42 CEST 2014


Hello, Nixers!

I want to know how can I pass some options to a builder.sh script.

I am maintaining a package for 8086tiny. It is not very
"autoconf"-style, in fact it is completely ad-hoc: a single Makefile
with a "gcc file.c" command. I am using an external builder.sh script
to install it.

But I want to pass a parameter, say "localBios". If 0, builder.sh will
not install a locally assembled BIOS file; if 1, it will assemble and
install a BIOS.

How can I do it in Nix?

Thanks in advance!
Anderson


More information about the nix-dev mailing list