nixos/crowdsec: use full grep path (#443167)

This commit is contained in:
Matt Sturgeon
2025-09-23 12:57:28 +00:00
committed by GitHub
+1 -1
View File
@@ -594,7 +594,7 @@ in
]
++ lib.optionals (cfg.settings.capi.credentialsFile != null) [
''
if ! grep -q password "${cfg.settings.capi.credentialsFile}" ]; then
if ! ${lib.getExe pkgs.gnugrep} -q password "${cfg.settings.capi.credentialsFile}" ]; then
${lib.getExe cscli} capi register
fi
''