mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
pkgsi686Linux.libarchive: pull upstream fix for 32-bit systems
Without the change `pkgsi686Linux.libarchive` tests fail as described in https://github.com/libarchive/libarchive/issues/1968
This commit is contained in:
parent
312efd0e9c
commit
81e8caab85
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, acl
|
||||
, attr
|
||||
, autoreconfHook
|
||||
@ -36,6 +37,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-p2JgJ/rvqaQ6yyXSh+ehScUH565ud5bQncl+lOnsWfc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull fix for test failure on 32-bit systems:
|
||||
(fetchpatch {
|
||||
name = "32-bit-tests-fix.patch";
|
||||
url = "https://github.com/libarchive/libarchive/commit/3bd918d92f8c34ba12de9c6604d96f9e262a59fc.patch";
|
||||
hash = "sha256-RM3xFM6S2DkM5DJ0kAba8eLzEXuY5/7AaU06maHJ6rM=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
postPatch = let
|
||||
|
Loading…
Reference in New Issue
Block a user