about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2016-05-26 22:01:45 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2016-05-26 22:01:45 -0300
commitf83cbcb51e8fffd5075057df45c5e4a0254374e5 (patch)
tree2d49339642bd5a107e1d1fc13a77f69d58d9a89b
parent8479e0ad84dbb79450afea9087bda0169891c35c (diff)
downloadnixlib-f83cbcb51e8fffd5075057df45c5e4a0254374e5.tar
nixlib-f83cbcb51e8fffd5075057df45c5e4a0254374e5.tar.gz
nixlib-f83cbcb51e8fffd5075057df45c5e4a0254374e5.tar.bz2
nixlib-f83cbcb51e8fffd5075057df45c5e4a0254374e5.tar.lz
nixlib-f83cbcb51e8fffd5075057df45c5e4a0254374e5.tar.xz
nixlib-f83cbcb51e8fffd5075057df45c5e4a0254374e5.tar.zst
nixlib-f83cbcb51e8fffd5075057df45c5e4a0254374e5.zip
numix-gtk-theme: fix installation directory
-rw-r--r--pkgs/misc/themes/numix-gtk-theme/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/misc/themes/numix-gtk-theme/default.nix b/pkgs/misc/themes/numix-gtk-theme/default.nix
index f57c1fba1fc5..aef1860961cc 100644
--- a/pkgs/misc/themes/numix-gtk-theme/default.nix
+++ b/pkgs/misc/themes/numix-gtk-theme/default.nix
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ gtk-engine-murrine ];
 
-  installPhase = ''
-    make install DESTDIR="$out"
+  postPatch = ''
+    substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
   '';
 
   meta = {