[Nix-dev] nix-env --arg

raffalli at univ-savoie.fr raffalli at univ-savoie.fr
Thu Jun 13 13:58:46 CEST 2013


Hello,

I am trying to add an optional arguments "withKerberos" to openssh and there is something I do not understand with nix-env.

If I first to "nix-env -i openssh --arg withKerberos false"

and then "nix-env -i openssh --arg withKerberos true"

Then openssh is not replaced. It seems that the hash do not depends on argument ?
How can I fix this ?

Another related question: how should we make this kind of options visible from the end user ?
Adding something in all-packages.nix ?

Cheers,
Christophe


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130613/d3471b93/attachment.bin 


More information about the nix-dev mailing list