The guide (version 0.15pre19948) says that
openssl = if sslSupport then openssl else null;
will remove the dependency on openssl. This appears not to work
although something like this will
maybeOpenssl = if sslSupport then openssl else null;
buildInputs = [ maybeOpenssl ]
Better yet, document use of the standard library function
buildInputs = [ ... ] # mandatory dependencies
++ stdenv.lib.optional sslSupport openssl
cheers
Rohan
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev