mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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 builtins.isList urls;
|
||||||
assert (urls == []) != (url == "");
|
assert (urls == []) != (url == "");
|
||||||
|
assert sha512 != "" -> builtins.compareVersions "1.11" builtins.nixVersion <= 0;
|
||||||
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
Loading…
Reference in New Issue
Block a user