Update default.nix
This commit is contained in:
@@ -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
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user