Commit 1f9fc918 authored by K900's avatar K900
Browse files

treewide: use pkgs.nixos-enter instead of config.system.build.nixos-enter

parent 5dcbab6b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6,13 +6,13 @@ tedious, so here is a quick way to see if the installer works properly:
```ShellSession
# mount -t tmpfs none /mnt
# nixos-generate-config --root /mnt
$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-install
$ nix-build '<nixpkgs>' -A nixos-install
# ./result/bin/nixos-install
```

To start a login shell in the new NixOS installation in `/mnt`:

```ShellSession
$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-enter
$ nix-build '<nixpkgs>' -A nixos-enter
# ./result/bin/nixos-enter
```
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ let format' = format; in let
      e2fsprogs
      lkl
      config.system.build.nixos-install
      config.system.build.nixos-enter
      nixos-enter
      nix
      systemdMinimal
    ]
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ let

  tools = lib.makeBinPath (
    with pkgs; [
      config.system.build.nixos-enter
      nixos-enter
      config.system.build.nixos-install
      dosfstools
      e2fsprogs
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ let

  tools = lib.makeBinPath (
    with pkgs; [
      config.system.build.nixos-enter
      nixos-enter
      config.system.build.nixos-install
      dosfstools
      e2fsprogs