gnustep-make: fix installation path
Get rid of the nested /nix/store/.../nix/store/... directories.
This commit is contained in:
parent
4943e41347
commit
4f1559a751
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user