Merge pull request #330806 from siriobalmelli/pr-330503
Co-authored-by: R. Ryantm <ryantm-bot@ryantm.com>
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user