diff options
author | tilpner <till@hoeppner.ws> | 2018-10-16 13:55:31 +0200 |
---|---|---|
committer | tilpner <till@hoeppner.ws> | 2018-10-16 13:57:15 +0200 |
commit | 62dc7fbc6170e9c96fed8eda70783bb012f57a84 (patch) | |
tree | a721a1f25ed07c9dcc7c6454e09df6ea2622dcfa /pkgs/tools | |
parent | 82cafa41cb5a135da6fff622d385591158eb5f54 (diff) | |
download | nixlib-62dc7fbc6170e9c96fed8eda70783bb012f57a84.tar nixlib-62dc7fbc6170e9c96fed8eda70783bb012f57a84.tar.gz nixlib-62dc7fbc6170e9c96fed8eda70783bb012f57a84.tar.bz2 nixlib-62dc7fbc6170e9c96fed8eda70783bb012f57a84.tar.lz nixlib-62dc7fbc6170e9c96fed8eda70783bb012f57a84.tar.xz nixlib-62dc7fbc6170e9c96fed8eda70783bb012f57a84.tar.zst nixlib-62dc7fbc6170e9c96fed8eda70783bb012f57a84.zip |
appimage-run: Fix type-1 support, used wrong directory
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/package-management/appimage-run/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/package-management/appimage-run/default.nix b/pkgs/tools/package-management/appimage-run/default.nix index 8e236aa426fd..e744b897f46a 100644 --- a/pkgs/tools/package-management/appimage-run/default.nix +++ b/pkgs/tools/package-management/appimage-run/default.nix @@ -134,7 +134,8 @@ buildFHSUserEnv { if ${file}/bin/file --mime-type --brief --keep-going "$APPIMAGE" | grep -q iso; then # is type-1 appimage - ${libarchive}/bin/bsdtar -x -C "$SQUASHFS_ROOT" -f "$APPIMAGE" + mkdir "$APPDIR" + ${libarchive}/bin/bsdtar -x -C "$APPDIR" -f "$APPIMAGE" else # is type-2 appimage "$APPIMAGE" --appimage-extract 2>/dev/null |