libpisp: fix build w/ glibc-2.42
Failing Hydra build: https://hydra.nixos.org/build/308323206
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
ninja,
|
||||
boost,
|
||||
nlohmann_json,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -20,6 +21,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-YshU7G5Rov67CVwFbf5ENp2j5ptAvkVrlMu85KmnEpk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix build with glibc 2.42 & -Werror
|
||||
(fetchpatch {
|
||||
url = "https://github.com/raspberrypi/libpisp/commit/f2bbf7e000d3f11cac235b8ea1291722080a016c.patch";
|
||||
hash = "sha256-vrdmVadyjlAnZtmBahOs/hlKPrkh/BF3LvrTPM9D15Q=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
meson
|
||||
|
||||
Reference in New Issue
Block a user