6 , appimage-run-tests ? null
10 name = "appimage-run";
12 fhsArgs = appimageTools.defaultFhsEnvArgs;
14 desktopItem = makeDesktopItem {
18 genericName = "AppImage runner";
20 mimeTypes = ["application/vnd.appimage" "application/x-iso9660-appimage"];
21 categories = ["PackageManager" "Utility"];
23 in buildFHSEnv (lib.recursiveUpdate fhsArgs {
26 targetPkgs = pkgs: [ appimageTools.appimage-exec ]
27 ++ fhsArgs.targetPkgs pkgs ++ extraPkgs pkgs;
28 runScript = "appimage-exec.sh";
30 extraInstallCommands = ''
31 cp --recursive "${desktopItem}/share" "$out/"
34 passthru.tests.appimage-run = appimage-run-tests;
36 meta.mainProgram = "appimage-run";