fetchurl: assert required Nix version for sha512
This commit is contained in:
parent
04c67c316c
commit
0f9268e52c
@ -87,6 +87,7 @@ in
|
||||
|
||||
assert builtins.isList urls;
|
||||
assert (urls == []) != (url == "");
|
||||
assert sha512 != "" -> builtins.compareVersions "1.11" builtins.nixVersion <= 0;
|
||||
|
||||
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user