fetchurl: assert required Nix version for sha512

This commit is contained in:
Domen Kožar 2016-04-14 12:50:21 +01:00
parent 04c67c316c
commit 0f9268e52c

View File

@ -87,6 +87,7 @@ in
assert builtins.isList urls;
assert (urls == []) != (url == "");
assert sha512 != "" -> builtins.compareVersions "1.11" builtins.nixVersion <= 0;
let