openvi: fix build w/ glibc-2.42

Failing Hydra build: https://hydra.nixos.org/build/317772107
This commit is contained in:
Maximilian Bosch
2026-01-03 20:39:46 +01:00
parent 3604e3ae9d
commit 8f0cddcc9d
+10
View File
@@ -5,6 +5,7 @@
pkg-config,
ncurses,
perl,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -18,6 +19,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-kLULaKEefMpNLANnVdWAZeH+2KY5gEWGce6vJ/R7HAI=";
};
patches = [
# fix build w/ glibc 2.42 (https://github.com/johnsonjh/OpenVi/pull/46)
(fetchpatch {
url = "https://github.com/johnsonjh/OpenVi/commit/67c76961f512bfe95616fe25b32928db0aab9326.patch";
hash = "sha256-GOair/unxROEPvtTekGuKacKwOctPyoRdvilqdVLjrY=";
excludes = [ "ChangeLog" ];
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [