about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2016-01-02 19:59:46 -0800
committerJude Taylor <me@jude.bio>2016-01-07 21:52:11 -0800
commit08c081309b4e024bc49463dba1e2d198b33c4f1d (patch)
tree527fba66d6c97f4d420a2c2745b0c46918439b52 /pkgs
parentc781d7d88e0e7b144809bc3f063839a9a66a7380 (diff)
downloadnixlib-08c081309b4e024bc49463dba1e2d198b33c4f1d.tar
nixlib-08c081309b4e024bc49463dba1e2d198b33c4f1d.tar.gz
nixlib-08c081309b4e024bc49463dba1e2d198b33c4f1d.tar.bz2
nixlib-08c081309b4e024bc49463dba1e2d198b33c4f1d.tar.lz
nixlib-08c081309b4e024bc49463dba1e2d198b33c4f1d.tar.xz
nixlib-08c081309b4e024bc49463dba1e2d198b33c4f1d.tar.zst
nixlib-08c081309b4e024bc49463dba1e2d198b33c4f1d.zip
Revert "gnustep-make: fix installation path"
This reverts commit 4f1559a75190c8e702d8c0d88c4c3791e47fcd4b.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/build-managers/gnustep/make/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/tools/build-managers/gnustep/make/default.nix b/pkgs/development/tools/build-managers/gnustep/make/default.nix
index 68af0c114c4c..a58273e6086e 100644
--- a/pkgs/development/tools/build-managers/gnustep/make/default.nix
+++ b/pkgs/development/tools/build-managers/gnustep/make/default.nix
@@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
 
   patchPhase = ''
     substituteInPlace GNUmakefile.in \
-      --replace which type
+      --replace which type \
+      --replace 'tooldir = $(DESTDIR)' 'tooldir = ' \
+      --replace 'makedir = $(DESTDIR)' 'makedir = ' \
+      --replace 'mandir  = $(DESTDIR)' 'mandir  = '
 
     substituteInPlace FilesystemLayouts/apple \
       --replace /usr/local ""
@@ -20,7 +23,7 @@ stdenv.mkDerivation rec {
       --replace /Library/GNUstep "$out"
   '';
 
-  installFlags = [ "PREFIX=$(out)" ];
+  installFlags = "DESTDIR=$(out)";
 
   postInstall = ''
     mkdir -p $out/nix-support