nixpkgs/pkgs/os-specific/linux/firejail/fbuilder-call-firejail-on-path.patch
2022-02-07 00:27:25 +10:00

12 lines
327 B
Diff

--- a/src/fbuilder/build_profile.c
+++ b/src/fbuilder/build_profile.c
@@ -48,7 +48,7 @@
// build command
char *cmd[len];
unsigned curr_len = 0;
- cmd[curr_len++] = BINDIR "/firejail";
+ cmd[curr_len++] = "firejail";
cmd[curr_len++] = "--quiet";
cmd[curr_len++] = "--noprofile";
cmd[curr_len++] = "--caps.drop=all";