ocf-resource-agents: enable strictDeps

We need a shell in buildInputs to allow the shebangs of many scripts
to be patched.
This commit is contained in:
Stefan Frijters
2026-04-12 12:58:15 +02:00
parent f2e38133ad
commit 34cb27edea
@@ -8,6 +8,7 @@
fetchFromGitHub,
fetchpatch,
autoreconfHook,
bashNonInteractive,
pkg-config,
python3,
glib,
@@ -47,13 +48,16 @@ let
nativeBuildInputs = [
autoreconfHook
pkg-config
python3
];
buildInputs = [
bashNonInteractive
glib
python3
];
strictDeps = true;
env.NIX_CFLAGS_COMPILE = toString (
lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "12") [
# Needed with GCC 12 but breaks on darwin (with clang) or older gcc