dpkg: Fix the build on Darwin
There are still some bugs and quirks, but this gets dpkg building at least, and some parts of it are useful.
This commit is contained in:
parent
224889e452
commit
2e88851c61
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue