Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bd1ff8696bd2
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 47f384e23811
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 2, 2019

  1. ledger-live-desktop: add smaller desktop icon

    Original 1024x1024 icon doesn't show properly in KDE
    nyanloutre committed Oct 2, 2019
    Copy the full SHA
    902de7a View commit details
  2. Merge pull request #70265 from nyanloutre/ledger_live_icon_fix

    ledger-live-desktop: add smaller desktop icon
    matthewbauer authored Oct 2, 2019
    Copy the full SHA
    47f384e View commit details
Showing with 3 additions and 1 deletion.
  1. +3 −1 pkgs/applications/blockchains/ledger-live-desktop/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeDesktopItem, appimageTools }:
{ stdenv, fetchurl, makeDesktopItem, appimageTools, imagemagick }:

let
pname = "ledger-live-desktop";
@@ -20,6 +20,8 @@ in appimageTools.wrapType2 rec {
mv $out/bin/${name} $out/bin/${pname}
install -m 444 -D ${appimageContents}/ledger-live-desktop.desktop $out/share/applications/ledger-live-desktop.desktop
install -m 444 -D ${appimageContents}/ledger-live-desktop.png $out/share/icons/hicolor/1024x1024/apps/ledger-live-desktop.png
${imagemagick}/bin/convert ${appimageContents}/ledger-live-desktop.png -resize 512x512 ledger-live-desktop_512.png
install -m 444 -D ledger-live-desktop_512.png $out/share/icons/hicolor/512x512/apps/ledger-live-desktop.png
substituteInPlace $out/share/applications/ledger-live-desktop.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
'';