From dd47ef70ff0b094a1850a1f42e6c3f2a107f6f46 Mon Sep 17 00:00:00 2001 From: d10n Date: Wed, 3 Apr 2019 13:50:36 -0400 Subject: [PATCH] postman: Link icon to $out/share/icons root At least on the version of Gnome shipping with CentOS 6, the icon in $out/share/icons/hicolor/128x128/apps is not picked up, but the icon in $out/share/icons does get picked up. --- pkgs/development/web/postman/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix index 66d17f67173..a09a84e4bf7 100644 --- a/pkgs/development/web/postman/default.nix +++ b/pkgs/development/web/postman/default.nix @@ -36,9 +36,11 @@ stdenv.mkDerivation rec { mkdir -p $out/share/applications ln -s ${desktopItem}/share/applications/* $out/share/applications/ - iconDir=$out/share/icons/hicolor/128x128/apps - mkdir -p $iconDir - ln -s $out/share/postman/resources/app/assets/icon.png $iconDir/postman.png + iconRootDir=$out/share/icons + iconSizeDir=$out/share/icons/hicolor/128x128/apps + mkdir -p $iconSizeDir + ln -s $out/share/postman/resources/app/assets/icon.png $iconRootDir/postman.png + ln -s $out/share/postman/resources/app/assets/icon.png $iconSizeDir/postman.png ''; preFixup = let