3
0
Fork 0
forked from mirrors/nixpkgs

tgt: Do not abuse DESTDIR

This commit is contained in:
Jan Tojnar 2018-12-22 22:29:54 +01:00
parent 4efe405311
commit fadd95af14
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

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