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 = '' patchPhase = ''
substituteInPlace GNUmakefile.in \ substituteInPlace GNUmakefile.in \
--replace which type \ --replace which type
--replace 'tooldir = $(DESTDIR)' 'tooldir = ' \
--replace 'makedir = $(DESTDIR)' 'makedir = ' \
--replace 'mandir = $(DESTDIR)' 'mandir = '
substituteInPlace FilesystemLayouts/apple \ substituteInPlace FilesystemLayouts/apple \
--replace /usr/local "" --replace /usr/local ""
''; '';
installFlags = "DESTDIR=$(out)"; installFlags = [ "PREFIX=$(out)" ];
postInstall = '' postInstall = ''
mkdir -p $out/nix-support mkdir -p $out/nix-support