From b60aa1d92d03d20ece27bd3f3d03b8a182400231 Mon Sep 17 00:00:00 2001 From: Olli Helenius Date: Sun, 30 Jun 2024 16:07:10 +0300 Subject: [PATCH] cloudflare-warp: bind package location as `/usr` to warp-taskbar The warp-taskbar package wants to access `/usr/share/warp/images` and crashes if it does not exist. As a workaround, bind the package out path as `/usr` so that the process can find the image directory at the expected location. --- pkgs/tools/networking/cloudflare-warp/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/networking/cloudflare-warp/default.nix b/pkgs/tools/networking/cloudflare-warp/default.nix index 4a0f84207136..0f6207a53e75 100644 --- a/pkgs/tools/networking/cloudflare-warp/default.nix +++ b/pkgs/tools/networking/cloudflare-warp/default.nix @@ -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 <