diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in index d75ed6c81..84fa72e35 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 .= "]";