1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-18 19:07:19 +03:00

foo: stdenv.lib -> lib

Fixes evaluation with newer Nixpkgs.
This commit is contained in:
bb010g 2021-06-11 19:02:14 -07:00 committed by Nicolas Mattia
parent 527494090f
commit e9e31a7248

View File

@ -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}";
}
) {};