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