cloudflare-warp: use PartOf instead of BindsTo for taskbar service to prevent logout problems (#434733)

authored by Stig and committed by GitHub 3f078e49 1dd97851

+3 -2
+3 -2
pkgs/by-name/cl/cloudflare-warp/package.nix
··· 92 92 patchelf --replace-needed libpcap.so.0.8 ${libpcap}/lib/libpcap.so $out/bin/warp-dex 93 93 mv lib/systemd/system $out/lib/systemd/ 94 94 substituteInPlace $out/lib/systemd/system/warp-svc.service \ 95 - --replace "ExecStart=" "ExecStart=$out" 95 + --replace-fail "ExecStart=" "ExecStart=$out" 96 96 substituteInPlace $out/lib/systemd/user/warp-taskbar.service \ 97 - --replace "ExecStart=" "ExecStart=$out" 97 + --replace-fail "ExecStart=" "ExecStart=$out" \ 98 + --replace-fail "BindsTo=" "PartOf=" 98 99 99 100 cat >>$out/lib/systemd/user/warp-taskbar.service <<EOF 100 101