diff options
author | Robert Schütz <nix@dotlambda.de> | 2022-10-11 22:24:53 -0700 |
---|---|---|
committer | Robert Schütz <github@dotlambda.de> | 2022-10-11 23:20:27 -0700 |
commit | 5c58d4f5ea4192cfc8817f3bab28574b503956c3 (patch) | |
tree | 1b9d691a81188e63c1bf1d583976c189f4d3de72 /pkgs | |
parent | 1ca4c178dd4f3520e3be42e186dce71362f53aea (diff) |
qutebrowser: fix build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/browsers/qutebrowser/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix index a3f5b32369730..c4327901d7387 100644 --- a/pkgs/applications/networking/browsers/qutebrowser/default.nix +++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix @@ -116,15 +116,15 @@ buildPythonApplication { # Install icons for i in 16 24 32 48 64 128 256 512; do - install -Dm644 "qutebrowser/icons/qutebrowser-''${i}x''${i}.png" \ + install -Dm644 "${lib.optionalString isQt6 "qutebrowser/"}icons/qutebrowser-''${i}x''${i}.png" \ "$out/share/icons/hicolor/''${i}x''${i}/apps/qutebrowser.png" done - install -Dm644 ${if isQt6 then "qutebrowser/" else ""}icons/qutebrowser.svg \ + install -Dm644 ${lib.optionalString isQt6 "qutebrowser/"}icons/qutebrowser.svg \ "$out/share/icons/hicolor/scalable/apps/qutebrowser.svg" # Install scripts sed -i "s,/usr/bin/,$out/bin/,g" scripts/open_url_in_instance.sh - ${if isQt6 then "rm -rf scripts/{testbrowser,dev}" else ""} + ${lib.optionalString isQt6 "rm -rf scripts/{testbrowser,dev}"} install -Dm755 -t "$out/share/qutebrowser/scripts/" $(find scripts -type f) install -Dm755 -t "$out/share/qutebrowser/userscripts/" misc/userscripts/* |