libcap_ng: fix hardcoded executable path (#492806)

This commit is contained in:
Bjørn Forsman
2026-02-22 07:37:58 +00:00
committed by GitHub
+2
View File
@@ -23,6 +23,8 @@ stdenv.mkDerivation (finalAttrs: {
# NEWS needs to exist or else the build fails
postPatch = ''
touch NEWS
substituteInPlace utils/captest.c \
--replace-fail /usr/bin/captest ${placeholder "out"}/bin/captest
'';
strictDeps = true;