mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
xbps: fix build with gcc8
This commit is contained in:
parent
62c60f471c
commit
f0a1f7e026
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, which, zlib, openssl, libarchive }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, which, zlib, openssl, libarchive }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xbps-${version}";
|
||||
|
@ -15,7 +15,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ zlib openssl libarchive ];
|
||||
|
||||
patches = [ ./cert-paths.patch ];
|
||||
patches = [
|
||||
./cert-paths.patch
|
||||
(fetchpatch {
|
||||
url = "https://patch-diff.githubusercontent.com/raw/void-linux/xbps/pull/38.patch";
|
||||
sha256 = "050a9chw0cxy67nm2phz67mgndarrxrv50d54m3l1s5sx83axww3";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# fix unprefixed ranlib (needed on cross)
|
||||
|
|
Loading…
Reference in a new issue