gkrellm: fix installation

Fixes #28239.
This commit is contained in:
Robert Helgesson 2017-08-13 22:35:25 +02:00
parent b7bd842fd6
commit 207ed51615
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, gettext, pkgconfig, glib, gtk2, libX11, libSM, libICE
{ fetchurl, stdenv, gettext, pkgconfig, glib, gtk2, libX11, libSM, libICE, which
, IOKit ? null }:
with stdenv.lib;
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0rnpzjr0ys0ypm078y63q4aplcgdr5nshjzhmz330n6dmnxci7lb";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig which ];
buildInputs = [gettext glib gtk2 libX11 libSM libICE]
++ optionals stdenv.isDarwin [ IOKit ];
@ -26,9 +26,8 @@ stdenv.mkDerivation rec {
sed -i "$i" -e "s|/usr/X11R6|${libX11.dev}|g ; s|-lICE|-lX11 -lICE|g"
done '';
installPhase = ''
make DESTDIR=$out install
'';
makeFlags = [ "STRIP=-s" ];
installFlags = [ "DESTDIR=$(out)" ];
meta = {
description = "Themeable process stack of system monitors";