mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
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";
|
|
})
|