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