summaryrefslogtreecommitdiffstats
path: root/pkgs/desktops/gnome-2/platform/GConf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/gnome-2/platform/GConf/default.nix')
-rw-r--r--pkgs/desktops/gnome-2/platform/GConf/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/desktops/gnome-2/platform/GConf/default.nix b/pkgs/desktops/gnome-2/platform/GConf/default.nix
index 9d3e3a9be209..ec8deb537d08 100644
--- a/pkgs/desktops/gnome-2/platform/GConf/default.nix
+++ b/pkgs/desktops/gnome-2/platform/GConf/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl, pkgconfig, dbus-glib, glib, ORBit2, libxml2, polkit, python3, intltool }:
+{ lib, stdenv, fetchurl, pkg-config, dbus-glib, glib, ORBit2, libxml2, polkit, python3, intltool }:
stdenv.mkDerivation rec {
pname = "gconf";
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,21 +14,21 @@ 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 ];
- nativeBuildInputs = [ pkgconfig intltool ];
+ nativeBuildInputs = [ pkg-config intltool ];
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
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://projects.gnome.org/gconf/";
description = "Deprecated system for storing application preferences";
platforms = platforms.unix;