Merge pull request #104487 from snicket2100/firejail-xdg-dbus-proxy
firejail: fixing the 'xdg-dbus-proxy' dependency
This commit is contained in:
commit
d006ea0663
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, fetchpatch, which, nixosTests}:
|
{stdenv, fetchurl, fetchpatch, which, xdg-dbus-proxy, nixosTests}:
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
rec {
|
rec {
|
||||||
@ -25,6 +25,10 @@ stdenv.mkDerivation {
|
|||||||
substituteInPlace etc/firejail.config --replace \
|
substituteInPlace etc/firejail.config --replace \
|
||||||
'# follow-symlink-as-user yes' \
|
'# follow-symlink-as-user yes' \
|
||||||
'follow-symlink-as-user no'
|
'follow-symlink-as-user no'
|
||||||
|
|
||||||
|
# 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'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user