tgt: Do not abuse DESTDIR
This commit is contained in:
parent
4efe405311
commit
fadd95af14
@ -15,9 +15,14 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ libxslt systemd libaio docbook_xsl ];
|
buildInputs = [ libxslt systemd libaio docbook_xsl ];
|
||||||
|
|
||||||
DESTDIR = "$(out)";
|
makeFlags = [
|
||||||
PREFIX = "/";
|
"PREFIX=${placeholder "out"}"
|
||||||
SD_NOTIFY="1";
|
"SD_NOTIFY=1"
|
||||||
|
];
|
||||||
|
|
||||||
|
installFlags = [
|
||||||
|
"sysconfdir=${placeholder "out"}/etc"
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i 's|/usr/bin/||' doc/Makefile
|
sed -i 's|/usr/bin/||' doc/Makefile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user