forked from lix-project/lix
fetchurl.nix: change other use of __impure
This commit is contained in:
parent
673fd21b7c
commit
fb985f855c
|
@ -38,6 +38,6 @@ derivation ({
|
|||
|
||||
# To make "nix-prefetch-url" work.
|
||||
urls = [ url ];
|
||||
} // (if __impure
|
||||
then { inherit __impure; }
|
||||
} // (if impure
|
||||
then { __impure = true; }
|
||||
else { inherit outputHashAlgo outputHash; }))
|
||||
|
|
Loading…
Reference in a new issue