forked from mirrors/nixpkgs
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 ];
|
||||
|
||||
DESTDIR = "$(out)";
|
||||
PREFIX = "/";
|
||||
SD_NOTIFY="1";
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
"SD_NOTIFY=1"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"sysconfdir=${placeholder "out"}/etc"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's|/usr/bin/||' doc/Makefile
|
||||
|
|
Loading…
Reference in a new issue