nixpkgs/pkgs/tools/package-management/appimage-run/default.nix

12 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";
})