openntpd: Remove output dir hack
This commit is contained in:
parent
b461df248e
commit
58d6ab8d4b
@ -21,15 +21,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=\${out}" ];
|
installFlags = [
|
||||||
|
"sysconfdir=\${out}/etc"
|
||||||
postInstall = ''
|
"localstatedir=\${TMPDIR}"
|
||||||
mv $out/$out/* $out
|
];
|
||||||
DIR=$out/$out
|
|
||||||
while rmdir $DIR 2>/dev/null; do
|
|
||||||
DIR="$(dirname "$DIR")"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://www.openntpd.org/";
|
homepage = "http://www.openntpd.org/";
|
||||||
|
Loading…
Reference in New Issue
Block a user