Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 294a4e6ea524^
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: e88f28965a7d
Choose a head ref
  • 3 commits
  • 7 files changed
  • 1 contributor

Commits on Feb 5, 2018

  1. Copy the full SHA
    294a4e6 View commit details
    Browse the repository at this point in the history
  2. Add a "nixos-enter" command

    This factors out the functionality in nixos-install for running a
    command inside a NixOS installation (nixos-install --chroot).
    edolstra committed Feb 5, 2018
    Copy the full SHA
    60cb230 View commit details
    Browse the repository at this point in the history
  3. nixos-install: Make compatible with Nix 2.0

    The use of Nix 2.0 significantly simplifies the installer, since we
    can just pass a different store URI (--store /mnt) - it's no longer
    needed to set up a chroot environment for the build, and to bootstrap
    Nix into the chroot.
    
    Also, commands that need to run in the installation (namely boot
    loader installation and setting a root password) are now executed
    using nixos-enter.
    
    This also removes the need for nixos-prepare-root since any required
    initialisation is done by Nix or by the activation script.
    edolstra committed Feb 5, 2018
    Copy the full SHA
    e88f289 View commit details
    Browse the repository at this point in the history