8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
11 lines
307 B
Nix
11 lines
307 B
Nix
{ appimageTools, buildFHSUserEnv, extraPkgs ? pkgs: [] }:
|
|
|
|
let
|
|
fhsArgs = appimageTools.defaultFhsEnvArgs;
|
|
in buildFHSUserEnv (fhsArgs // {
|
|
name = "appimage-run";
|
|
|
|
targetPkgs = pkgs: [ appimageTools.appimage-exec ]
|
|
++ fhsArgs.targetPkgs pkgs ++ extraPkgs pkgs;
|
|
runScript = "appimage-exec.sh";
|
|
})
|