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

14 lines
387 B
Nix
Raw Normal View History

2021-01-04 12:00:00 +00:00
{ appimageTools, buildFHSUserEnv, extraPkgs ? pkgs: [], appimage-run-tests ? null }:
let
fhsArgs = appimageTools.defaultFhsEnvArgs;
in buildFHSUserEnv (fhsArgs // {
name = "appimage-run";
targetPkgs = pkgs: [ appimageTools.appimage-exec ]
++ fhsArgs.targetPkgs pkgs ++ extraPkgs pkgs;
runScript = "appimage-exec.sh";
2021-01-04 12:00:00 +00:00
passthru.tests.appimage-run = appimage-run-tests;
})