mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
picolibc: fix build w/ glibc-2.44
Failing Hydra build: https://hydra.nixos.org/build/344179652
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
stdenvNoLibc,
|
||||
fetchpatch,
|
||||
buildPackages,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
@@ -34,6 +35,14 @@ stdenvNoLibc.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-FhTNgffsnHbzIXOOwCMe6O1FGkEtqWfw+e30RW+Y4K4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix build w/ glibc-2.44
|
||||
(fetchpatch {
|
||||
url = "https://github.com/picolibc/picolibc/commit/11a46b6ed03c4dca64e0534435da9841e837b160.patch";
|
||||
hash = "sha256-i1dKW1L5si0gf0/Sn4sU/BuIof778tvHgCCCY1TxMME=";
|
||||
})
|
||||
];
|
||||
|
||||
depsBuildBuild = lib.optionals canExecute [
|
||||
buildPackages.stdenv.cc
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user