nix-bundle/default.nix
Matthew Bauer 97dd6220f8 Pull sources into repo.
nix-user-chroot now uses local version instead of lethalman's
2016-06-15 16:23:19 +00:00

32 lines
578 B
Nix

{nixpkgs ? import <nixpkgs> {}}:
with nixpkgs;
let
makeself = callPackage ./makeself.nix {};
makedir = callPackage ./makedir.nix {};
makebootstrap = callPackage ./makebootstrap.nix {
inherit makedir makeself;
};
nix-user-chroot = callPackage ./nix-user-chroot.nix {};
nix-bootstrap = callPackage ./nix-bootstrap.nix {
inherit nix-user-chroot;
};
in {
versionTest = makebootstrap {
name = "nix-bootstrap.sh";
target = nix-bootstrap {
name = "nix-bootstrap";
stage3 = "nix-env --version";
};
run = "/stage1.sh";
};
}