yubioath-desktop: Fix desktop launcher icon (#67793)

This commit is contained in:
Benjamin Staffin 2019-08-31 08:14:46 -04:00 committed by Samuel Leathers
parent 35ac3344e7
commit ccf6d84366

View File

@ -44,6 +44,7 @@ mkDerivation rec {
cp resources/icons/*.{icns,ico,png,xpm} $out/share/yubioath/icons
substituteInPlace $out/share/applications/yubioath-desktop.desktop \
--replace 'Exec=yubioath-desktop' "Exec=$out/bin/yubioath-desktop" \
--replace 'Icon=yubioath' "Icon=$out/share/yubioath/icons/yubioath.png"
'';
meta = with stdenv.lib; {