mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
firejail: Fix double-dash usage on non-POSIX shells
This commit is contained in:
parent
d71d42707e
commit
03ee925c05
@ -47,6 +47,12 @@ stdenv.mkDerivation rec {
|
||||
# Fix the path to 'xdg-dbus-proxy' hardcoded in the 'common.h' file
|
||||
substituteInPlace src/include/common.h \
|
||||
--replace '/usr/bin/xdg-dbus-proxy' '${xdg-dbus-proxy}/bin/xdg-dbus-proxy'
|
||||
|
||||
# Workaround for regression introduced in 0.9.72 preventing usage of
|
||||
# end-of-options indicator "--"
|
||||
# See https://github.com/netblue30/firejail/issues/5659
|
||||
substituteInPlace src/firejail/sandbox.c \
|
||||
--replace " && !arg_doubledash" ""
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user