appimage-run: set meta.mainProgram

This commit is contained in:
Sandro Jäckel 2024-02-26 14:26:39 +01:00
parent 39f5b03232
commit f6ba649ddc
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,4 +1,10 @@
{ appimageTools, buildFHSEnv, makeDesktopItem, extraPkgs ? pkgs: [], appimage-run-tests ? null }:
{ lib
, appimageTools
, buildFHSEnv
, makeDesktopItem
, extraPkgs ? pkgs: []
, appimage-run-tests ? null
}:
let
name = "appimage-run";
@ -14,7 +20,7 @@ let
mimeTypes = ["application/vnd.appimage" "application/x-iso9660-appimage"];
categories = ["PackageManager" "Utility"];
};
in buildFHSEnv (fhsArgs // {
in buildFHSEnv (lib.recursiveUpdate fhsArgs {
inherit name;
targetPkgs = pkgs: [ appimageTools.appimage-exec ]
@ -26,4 +32,6 @@ in buildFHSEnv (fhsArgs // {
'';
passthru.tests.appimage-run = appimage-run-tests;
meta.mainProgram = "appimage-run";
})