From e9e31a7248e0728ab67a5a911b7ef704b1e399c4 Mon Sep 17 00:00:00 2001 From: bb010g Date: Fri, 11 Jun 2021 19:02:14 -0700 Subject: [PATCH] foo: stdenv.lib -> lib Fixes evaluation with newer Nixpkgs. --- foo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foo/default.nix b/foo/default.nix index df0d48a..14dd656 100644 --- a/foo/default.nix +++ b/foo/default.nix @@ -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}"; } ) {};