atlauncher: make desktop item attrs static
Overriding pname would change the desktop item attributes which is a regression
This commit is contained in:
parent
192e7f9887
commit
6b3ba452ed
@ -32,16 +32,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--add-flags "--no-launcher-update"
|
||||
|
||||
mkdir -p $out/share/icons/hicolor/scalable/apps
|
||||
cp $ICON $out/share/icons/hicolor/scalable/apps/${finalAttrs.pname}.svg
|
||||
cp $ICON $out/share/icons/hicolor/scalable/apps/atlauncher.svg
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = finalAttrs.pname;
|
||||
exec = finalAttrs.pname;
|
||||
icon = finalAttrs.pname;
|
||||
name = "atlauncher";
|
||||
exec = "atlauncher";
|
||||
icon = "atlauncher";
|
||||
desktopName = "ATLauncher";
|
||||
categories = [ "Game" ];
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user