mirror of
https://github.com/nmattia/niv.git
synced 2024-11-29 00:42:04 +03:00
foo: stdenv.lib -> lib
Fixes evaluation with newer Nixpkgs.
This commit is contained in:
parent
527494090f
commit
e9e31a7248
@ -76,7 +76,7 @@
|
||||
description = spec.synopsis;
|
||||
license =
|
||||
if builtins.hasAttr "license" spec && spec.license == "MIT"
|
||||
then stdenv.lib.licenses.mit
|
||||
then lib.licenses.mit
|
||||
else throw "Don't know how to handle license: ${builtins.toJSON spec.license}";
|
||||
}
|
||||
) {};
|
||||
|
Loading…
Reference in New Issue
Block a user