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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user