Branch: refs/heads/copumpkin/nixos-install-refactor
Home: https://github.com/NixOS/nixpkgs
Commit: d990aa716327abb018e8352dcf7ba2fcfb4fc34c
https://github.com/NixOS/nixpkgs/commit/d990aa716327abb018e8352dcf7ba2fcfb4fc34c
Author: Dan Peebles <[email protected]>
Date: 2017-04-16 (Sun, 16 Apr 2017)
Changed paths:
M nixos/modules/installer/tools/nixos-install.sh
A nixos/modules/installer/tools/nixos-prepare-root.sh
M nixos/modules/installer/tools/tools.nix
M nixos/tests/installer.nix
M pkgs/tools/package-management/nix/default.nix
Log Message:
-----------
Refactor nixos-install to separate out filesystem build logic
The key distinction I'm drawing is that there's a component that deals
with the store of the machine being built, and another component for
the store building it. The inner part of it assumes nothing from the
builder (doesn't need chroot or root powers) so it can run comfortably
inside a Nix build, as well as nixos-rebuild. I have some upcoming work
that will use that to significantly speed up and streamline image builds
for NixOS, especially on virtualized hosts like EC2, but it's also a
reasonable speedup on native hosts.
_______________________________________________
nix-commits mailing list
[email protected]
https://mailman.science.uu.nl/mailman/listinfo/nix-commits