libcap_ng: fix hardcoded executable path
`captest` tries to call itself with `/usr/bin/captest`. Correct the path.
This commit is contained in:
@@ -22,6 +22,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;
|
||||
|
||||
Reference in New Issue
Block a user