aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-09-16 01:52:20 -0700
committerAdam Joseph <adam@westernsemico.com>2022-09-16 01:54:24 -0700
commitfb985f855c3bba09703bfb0ad7618ab881c2b0c4 (patch)
treea0cc6fd75b203c09b0989f3b466f42f3dbfa1d00
parent673fd21b7c12b3b0a7fd7e0c9c78caefd8906836 (diff)
fetchurl.nix: change other use of __impure
-rw-r--r--src/libexpr/fetchurl.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/fetchurl.nix b/src/libexpr/fetchurl.nix
index b487e959a..9d1b61d7f 100644
--- a/src/libexpr/fetchurl.nix
+++ b/src/libexpr/fetchurl.nix
@@ -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; }))