[Nix-commits] [NixOS/nixpkgs] d990aa: Refactor nixos-install to separate out filesystem ...

2017-04-17 Thread Daniel Peebles
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d990aa716327abb018e8352dcf7ba2fcfb4fc34c
  
https://github.com/NixOS/nixpkgs/commit/d990aa716327abb018e8352dcf7ba2fcfb4fc34c
  Author: Dan Peebles 
  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.


  Commit: e9f1d8693a666af293d690fabe561eea29c748a1
  
https://github.com/NixOS/nixpkgs/commit/e9f1d8693a666af293d690fabe561eea29c748a1
  Author: Daniel Peebles 
  Date:   2017-04-17 (Mon, 17 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:
  ---
  Merge pull request #23026 from copumpkin/nixos-install-wip

Refactor nixos-install to separate out filesystem build logic


Compare: https://github.com/NixOS/nixpkgs/compare/5a7b029fa97b...e9f1d8693a66___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d990aa: Refactor nixos-install to separate out filesystem ...

2017-04-16 Thread Dan Peebles
  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 
  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
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits