diff --git a/pkgs/tools/package-management/dpkg/default.nix b/pkgs/tools/package-management/dpkg/default.nix index 162012378034f..db095e59c4891 100644 --- a/pkgs/tools/package-management/dpkg/default.nix +++ b/pkgs/tools/package-management/dpkg/default.nix @@ -14,16 +14,17 @@ , pkg-config , diffutils , glibc ? !stdenv.isDarwin +, darwin }: stdenv.mkDerivation rec { pname = "dpkg"; - version = "1.22.6"; + version = "1.22.10"; src = fetchgit { url = "https://git.launchpad.net/ubuntu/+source/dpkg"; rev = "applied/${version}"; - hash = "sha256-iNaBSnxKMKV4u+X4dvDcq7QIxFGROEV0QrbZEJr5kmw="; + hash = "sha256-D/9nQXwzgLo+odn72WHuCJDjipfWdim2ZdSLTI2VlgE="; }; configureFlags = [ @@ -71,7 +72,8 @@ stdenv.mkDerivation rec { --replace '"ldconfig"' \"${glibc.bin}/bin/ldconfig\" ''; - buildInputs = [ perl zlib bzip2 xz zstd libmd ]; + buildInputs = [ perl zlib bzip2 xz zstd libmd ] + ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreServices ]; nativeBuildInputs = [ makeWrapper perl autoreconfHook pkg-config ]; postInstall =