Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upoutputHash can be null when outputHashAlgo is provided #1384
Comments
edolstra
closed this
in
c05d9ae
May 15, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ryantrinkle commentedMay 12, 2017
As a result,
fetchurlas currently provided by nixpkgs can be invoked impurely, e.g.:fetchurl { url = "http://www.time.gov/actualtime.cgi"; sha256 = null; }.Thanks to @grahamc for putting together this example:
Enabling sandboxing prevents the derivation from building, of course, which prevents the impurity.