From c55be95e6e61e9e5111b647c455759776609a34f Mon Sep 17 00:00:00 2001 From: Jonathan Glines Date: Fri, 13 Jun 2014 11:32:29 -0600 Subject: [PATCH] Nitrogen build working. Missing custom icons in GUI. --- pkgs/tools/X11/nitrogen/default.nix | 8 +++++++- pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/X11/nitrogen/default.nix b/pkgs/tools/X11/nitrogen/default.nix index e9e6587179af..15e5a5089d0f 100644 --- a/pkgs/tools/X11/nitrogen/default.nix +++ b/pkgs/tools/X11/nitrogen/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig }: +{ stdenv, fetchurl, pkgconfig, glib, gtk2, gtkmm }: stdenv.mkDerivation rec { name = "nitrogen-1.5.2"; @@ -8,6 +8,12 @@ stdenv.mkDerivation rec { sha256 = "60a2437ce6a6c0ba44505fc8066c1973140d4bb48e1e5649f525c7b0b8bf9fd2"; }; + buildInputs = [ glib gtk2 gtkmm pkgconfig ]; + + NIX_LDFLAGS = "-lX11"; + + patches = [ ./nitrogen-env-bash.patch ]; + meta = { description = "A background browser and setter for X windows"; homepage = http://projects.l3ib.org/nitrogen/; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ede5259f1ba4..f8f56151282a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1609,6 +1609,8 @@ let nilfs_utils = callPackage ../tools/filesystems/nilfs-utils {}; + nitrogen = callPackage ../tools/X11/nitrogen {}; + nlopt = callPackage ../development/libraries/nlopt {}; npapi_sdk = callPackage ../development/libraries/npapi-sdk {};