summary refs log tree commit diff
path: root/pkgs/tools/package-management/dpkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/package-management/dpkg')
-rw-r--r--pkgs/tools/package-management/dpkg/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/package-management/dpkg/default.nix b/pkgs/tools/package-management/dpkg/default.nix
index a7bda2578ae4..ce7208982555 100644
--- a/pkgs/tools/package-management/dpkg/default.nix
+++ b/pkgs/tools/package-management/dpkg/default.nix
@@ -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 ];
   };
 }