Update default.nix

This commit is contained in:
2026-05-24 02:29:14 -03:00
parent d700ea8f21
commit 4279b1bc0d
+2 -7
View File
@@ -1,7 +1,6 @@
{ lib, pkgs, ... }: { pkgs, ... }:
{
helium = pkgs.appimageTools.wrapType2 rec {
pkgs.appimageTools.wrapType2 rec {
pname = "helium"; pname = "helium";
version = "0.12.4.1"; version = "0.12.4.1";
@@ -15,11 +14,7 @@
contents = pkgs.appimageTools.extract { inherit pname version src; }; contents = pkgs.appimageTools.extract { inherit pname version src; };
in in
'' ''
install -m 444 -D ${contents}/${pname}.desktop -t $out/share/applications install -m 444 -D ${contents}/${pname}.desktop -t $out/share/applications
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
cp -r ${contents}/usr/share/icons $out/share cp -r ${contents}/usr/share/icons $out/share
''; '';
};
} }