treewide: stdenv.lib -> lib
This commit is contained in:
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||
version = "3.2.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/GConf/${stdenv.lib.versions.majorMinor version}/GConf-${version}.tar.xz";
|
||||
url = "mirror://gnome/sources/GConf/${lib.versions.majorMinor version}/GConf-${version}.tar.xz";
|
||||
sha256 = "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr";
|
||||
};
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ ORBit2 libxml2 python3 ]
|
||||
# polkit requires pam, which requires shadow.h, which is not available on
|
||||
# darwin
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) polkit;
|
||||
++ lib.optional (!stdenv.isDarwin) polkit;
|
||||
|
||||
propagatedBuildInputs = [ glib dbus-glib ];
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags =
|
||||
# fixes the "libgconfbackend-oldxml.so is not portable" error on darwin
|
||||
stdenv.lib.optional stdenv.isDarwin [ "--enable-static" ];
|
||||
lib.optional stdenv.isDarwin [ "--enable-static" ];
|
||||
|
||||
postPatch = ''
|
||||
2to3 --write --nobackup gsettings/gsettings-schema-convert
|
||||
|
||||
Reference in New Issue
Block a user