gnustep-make: fix installation path

Get rid of the nested /nix/store/.../nix/store/... directories.
This commit is contained in:
Tobias Geerinckx-Rice 2016-01-02 21:31:22 +01:00
parent 4943e41347
commit 4f1559a751

View File

@ -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