nix: patch to support newer aws-sdk-cpp
Upstream PR: https://github.com/NixOS/nix/pull/4404
This commit is contained in:
parent
4cb0e9e1c4
commit
b07089cd1a
1 changed files with 10 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, fetchpatch, fetchFromGitHub, callPackage
|
{ lib, fetchurl, fetchFromGitHub, fetchpatch, callPackage
|
||||||
, storeDir ? "/nix/store"
|
, storeDir ? "/nix/store"
|
||||||
, stateDir ? "/nix/var"
|
, stateDir ? "/nix/var"
|
||||||
, confDir ? "/etc"
|
, confDir ? "/etc"
|
||||||
|
@ -23,8 +23,8 @@ common =
|
||||||
, withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp
|
, withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp
|
||||||
, withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
|
, withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
|
||||||
, enableStatic ? stdenv.hostPlatform.isStatic
|
, enableStatic ? stdenv.hostPlatform.isStatic
|
||||||
, name, suffix ? "", src, patches ? []
|
, name, suffix ? "", src
|
||||||
|
, patches ? [ ]
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
sh = busybox-sandbox-shell;
|
sh = busybox-sandbox-shell;
|
||||||
|
@ -198,6 +198,13 @@ in rec {
|
||||||
sha256 = "a8a85e55de43d017abbf13036edfb58674ca136691582f17080c1cd12787b7ab";
|
sha256 = "a8a85e55de43d017abbf13036edfb58674ca136691582f17080c1cd12787b7ab";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [(
|
||||||
|
fetchpatch {
|
||||||
|
url = "https://github.com/NixOS/nix/pull/4316.patch";
|
||||||
|
sha256 = "0bqlm4n9sac9prgr9xlfng92arisp1hiqvc9pfh4fibsppkgdfc5";
|
||||||
|
}
|
||||||
|
)];
|
||||||
|
|
||||||
inherit storeDir stateDir confDir boehmgc;
|
inherit storeDir stateDir confDir boehmgc;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue