summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-02 21:31:22 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-03 00:24:28 +0100
commit4f1559a75190c8e702d8c0d88c4c3791e47fcd4b (patch)
tree250dc36084cb566be9122e7308fbb66c0b12005b /pkgs/development/tools
parent4943e4134732ddd68cfdef9b95e1317255f5c953 (diff)
downloadnixlib-4f1559a75190c8e702d8c0d88c4c3791e47fcd4b.tar
nixlib-4f1559a75190c8e702d8c0d88c4c3791e47fcd4b.tar.gz
nixlib-4f1559a75190c8e702d8c0d88c4c3791e47fcd4b.tar.bz2
nixlib-4f1559a75190c8e702d8c0d88c4c3791e47fcd4b.tar.lz
nixlib-4f1559a75190c8e702d8c0d88c4c3791e47fcd4b.tar.xz
nixlib-4f1559a75190c8e702d8c0d88c4c3791e47fcd4b.tar.zst
nixlib-4f1559a75190c8e702d8c0d88c4c3791e47fcd4b.zip
gnustep-make: fix installation path
Get rid of the nested /nix/store/.../nix/store/... directories.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/build-managers/gnustep/make/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/tools/build-managers/gnustep/make/default.nix b/pkgs/development/tools/build-managers/gnustep/make/default.nix
index 67fe60f2c0eb..f0217f15929b 100644
--- a/pkgs/development/tools/build-managers/gnustep/make/default.nix
+++ b/pkgs/development/tools/build-managers/gnustep/make/default.nix
@@ -11,16 +11,13 @@ stdenv.mkDerivation rec {
 
   patchPhase = ''
     substituteInPlace GNUmakefile.in \
-      --replace which type \
-      --replace 'tooldir = $(DESTDIR)' 'tooldir = ' \
-      --replace 'makedir = $(DESTDIR)' 'makedir = ' \
-      --replace 'mandir  = $(DESTDIR)' 'mandir  = '
+      --replace which type
 
     substituteInPlace FilesystemLayouts/apple \
       --replace /usr/local ""
   '';
 
-  installFlags = "DESTDIR=$(out)";
+  installFlags = [ "PREFIX=$(out)" ];
 
   postInstall = ''
     mkdir -p $out/nix-support