treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitLab
, cmake
, libGLU
@@ -43,11 +43,11 @@
, gtk3
}:
assert stdenv.lib.asserts.assertMsg (!(withOCE && stdenv.isAarch64)) "OCE fails a test on Aarch64";
assert stdenv.lib.asserts.assertMsg (!(withOCC && withOCE))
assert lib.asserts.assertMsg (!(withOCE && stdenv.isAarch64)) "OCE fails a test on Aarch64";
assert lib.asserts.assertMsg (!(withOCC && withOCE))
"Only one of OCC and OCE may be enabled";
let
inherit (stdenv.lib) optional optionals;
inherit (lib) optional optionals;
in
stdenv.mkDerivation rec {
pname = "kicad-base";
@@ -140,7 +140,7 @@ stdenv.mkDerivation rec {
the libraries are passed via an env var in the wrapper, default.nix
'';
homepage = "https://www.kicad-pcb.org/";
license = stdenv.lib.licenses.agpl3;
platforms = stdenv.lib.platforms.all;
license = lib.licenses.agpl3;
platforms = lib.platforms.all;
};
}