Skip to content

Commit

Permalink
Merge pull request NixOS#330806 from siriobalmelli/pr-330503
Browse files Browse the repository at this point in the history
Co-authored-by: R. Ryantm <[email protected]>
  • Loading branch information
SuperSandro2000 and r-ryantm authored Aug 6, 2024
2 parents 153d06a + e13e593 commit b772ff9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/tools/package-management/dpkg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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 =
Expand Down

0 comments on commit b772ff9

Please sign in to comment.