about summary refs log tree commit diff
path: root/scripts/nix-channel.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-channel.in')
-rw-r--r--scripts/nix-channel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in
index d75ed6c817c4..84fa72e359e5 100644
--- a/scripts/nix-channel.in
+++ b/scripts/nix-channel.in
@@ -89,7 +89,7 @@ sub update {
         chomp $hash;
         # !!! escaping
         $nixExpr .= "((import @datadir@/nix/corepkgs/fetchurl) " .
-            "{url = $fullURL; sha1 = \"$hash\"; system = \"@system@\";}) "
+            "{url = $fullURL; md5 = \"$hash\"; system = \"@system@\";}) "
     }
 
     $nixExpr .= "]";