loadout/appimage.nix

18 lines
369 B
Nix
Raw Normal View History

2017-10-18 00:12:57 +00:00
{
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; })