Merge pull request #323580 from liff/fix/cloudflare-warp-taskbar
cloudflare-warp: bind package location as `/usr` to warp-taskbar
This commit is contained in:
@@ -73,6 +73,12 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $out/lib/systemd/user/warp-taskbar.service \
|
||||
--replace "ExecStart=" "ExecStart=$out"
|
||||
|
||||
cat >>$out/lib/systemd/user/warp-taskbar.service <<EOF
|
||||
|
||||
[Service]
|
||||
BindReadOnlyPaths=$out:/usr:
|
||||
EOF
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user