Fix appimage stuff

Wasn't working since v0.1.1
This commit is contained in:
Matthew Bauer 2017-04-30 02:32:27 -05:00
parent 505248d4ce
commit 1b9cffd972
3 changed files with 15 additions and 2 deletions

View File

@ -13,7 +13,7 @@ fi
target="$1"
expr="with import <nixpkgs> {}; with import ./. {}; appdir { name = \"$target\"; target = $target; }"
expr="with import <nixpkgs> {}; with import ./appimage-top.nix {}; appdir { name = \"$target\"; target = $target; }"
out=$(nix-store --no-gc-warning -r $(nix-instantiate --no-gc-warning -E "$expr"))

13
appimage-top.nix Normal file
View File

@ -0,0 +1,13 @@
{nixpkgs ? import <nixpkgs> {}}:
with nixpkgs;
rec {
appimagetool = callPackage ./appimagetool.nix {};
appimage = callPackage ./appimage.nix {
inherit appimagetool;
};
appdir = callPackage ./appdir.nix {};
}

View File

@ -19,7 +19,7 @@ fi
target="$1"
expr="with import <nixpkgs> {}; with import ./. {}; appimage (appdir { name = \"$target\"; target = $target; })"
expr="with import <nixpkgs> {}; with import ./appimage-top.nix {}; appimage (appdir { name = \"$target\"; target = $target; })"
out=$(nix-store --no-gc-warning -r $(nix-instantiate --no-gc-warning -E "$expr"))