From c8019f84bb010c5eeeeacab82923fba278356be7 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 9 May 2023 15:18:35 +0000 Subject: [PATCH] pkgs: wifi-qr: fix icon handling --- pkgs/wifi-qr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/wifi-qr/default.nix b/pkgs/wifi-qr/default.nix index 540ae20..c68eceb 100644 --- a/pkgs/wifi-qr/default.nix +++ b/pkgs/wifi-qr/default.nix @@ -37,7 +37,7 @@ stdenvNoCC.mkDerivation rec { --replace "Exec=sh -c 'wifi-qr q'" "Exec=$out/bin/wifi-qr q" \ --replace "Exec=sh -c 'wifi-qr p'" "Exec=$out/bin/wifi-qr p" \ --replace "Exec=sh -c 'wifi-qr c'" "Exec=$out/bin/wifi-qr c" \ - --replace "Icon=wifi-qr.svg" "Icon=$out/share/applications/wifi-qr.svg" + --replace "Icon=wifi-qr.svg" "Icon=wifi-qr" ''; installPhase = '' @@ -46,7 +46,7 @@ stdenvNoCC.mkDerivation rec { install -Dm755 wifi-qr $out/bin/wifi-qr install -Dm644 wifi-qr.desktop $out/share/applications/wifi-qr.desktop - install -Dm644 wifi-qr.svg $out/share/applications/wifi-qr.svg + install -Dm644 wifi-qr.svg $out/share/icons/hicolor/scalable/apps/wifi-qr.svg installManPage wifi-qr.1