1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

openntpd: Remove output dir hack

This commit is contained in:
William A. Kennington III 2015-04-08 15:11:45 -07:00
parent b461df248e
commit 58d6ab8d4b

View file

@ -21,15 +21,10 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ];
installFlags = [ "DESTDIR=\${out}" ];
postInstall = ''
mv $out/$out/* $out
DIR=$out/$out
while rmdir $DIR 2>/dev/null; do
DIR="$(dirname "$DIR")"
done
'';
installFlags = [
"sysconfdir=\${out}/etc"
"localstatedir=\${TMPDIR}"
];
meta = with stdenv.lib; {
homepage = "http://www.openntpd.org/";