blob: 04778e597bb3b38b502b44c515c57fbe81aecb95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{
pkgsSrc ? ./pkgs.nix,
}: let
nixBundle = builtins.fetchGit {
url = "https://github.com/matthewbauer/nix-bundle.git";
rev = "223f4ffc4179aa318c34dc873a08cb00090db829";
};
appimageTop = (import "${nixBundle}/appimage-top.nix") {
nixpkgs' = pkgsSrc;
};
in { name, target }:
appimageTop.appimage (appimageTop.appdir { inherit name target; })
|