iputils.apparmor: only include local/bin if exists (#477030)
This commit is contained in:
@@ -69,7 +69,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[ libcap ] ++ lib.optional (!stdenv.hostPlatform.isMusl) libidn2
|
||||
)
|
||||
}"
|
||||
include <local/bin.ping>
|
||||
include if exists <local/bin.ping>
|
||||
capability net_raw,
|
||||
network inet raw,
|
||||
network inet6 raw,
|
||||
|
||||
Reference in New Issue
Block a user