Update default.nix
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
helium = pkgs.appimageTools.wrapType2 rec {
|
||||
{ pkgs, ... }:
|
||||
|
||||
pkgs.appimageTools.wrapType2 rec {
|
||||
pname = "helium";
|
||||
version = "0.12.4.1";
|
||||
|
||||
@@ -15,11 +14,7 @@
|
||||
contents = pkgs.appimageTools.extract { inherit pname version src; };
|
||||
in
|
||||
''
|
||||
|
||||
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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user