depot/third_party/nixpkgs/pkgs/os-specific/linux/firejail/fbuilder-call-firejail-on-path.patch

12 lines
327 B
Diff
Raw Normal View History

--- 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";