Merge pull request #10934 from benley/darwin-dpkg

dpkg: fix the build on Darwin
This commit is contained in:
Benjamin Staffin 2016-09-05 01:34:13 -04:00 committed by GitHub
commit 7693fc2994

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
"--disable-dselect"
"--with-admindir=/var/lib/dpkg"
"PERL_LIBDIR=$(out)/${perl.libPrefix}"
(stdenv.lib.optionalString stdenv.isDarwin "--disable-linker-optimisations")
(stdenv.lib.optionalString stdenv.isDarwin "--disable-start-stop-daemon")
];
preConfigure = ''
@ -55,7 +57,7 @@ stdenv.mkDerivation rec {
description = "The Debian package manager";
homepage = http://wiki.debian.org/Teams/Dpkg;
license = licenses.gpl2Plus;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ mornfall nckx ];
};
}