libcap_ng: fix hardcoded executable path (#492806)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user