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
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, clang, which, libobjc }:
{ lib, stdenv, fetchurl, clang, which, libobjc }:
let
version = "2.8.0";
@@ -32,8 +32,8 @@ stdenv.mkDerivation {
meta = {
description = "A build manager for GNUstep";
homepage = "http://gnustep.org/";
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = lib.platforms.unix;
};
}
@@ -1,4 +1,4 @@
{ stdenv, make, makeWrapper, which }:
{ lib, stdenv, make, makeWrapper, which }:
{ buildInputs ? [], ...} @ args:
stdenv.mkDerivation (args // {
buildInputs = [ makeWrapper make which ] ++ buildInputs;
@@ -11,9 +11,9 @@ stdenv.mkDerivation (args // {
meta = {
homepage = "http://gnustep.org/";
license = stdenv.lib.licenses.lgpl2Plus;
license = lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = stdenv.lib.platforms.linux;
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer ];
platforms = lib.platforms.linux;
} // (if builtins.hasAttr "meta" args then args.meta else {});
})