treewide: use pkgs.nixos-enter instead of config.system.build.nixos-enter
This commit is contained in:
parent
5dcbab6b74
commit
1f9fc918ce
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
]
|
||||
|
@ -124,7 +124,7 @@ let
|
||||
|
||||
tools = lib.makeBinPath (
|
||||
with pkgs; [
|
||||
config.system.build.nixos-enter
|
||||
nixos-enter
|
||||
config.system.build.nixos-install
|
||||
dosfstools
|
||||
e2fsprogs
|
||||
|
@ -112,7 +112,7 @@ let
|
||||
|
||||
tools = lib.makeBinPath (
|
||||
with pkgs; [
|
||||
config.system.build.nixos-enter
|
||||
nixos-enter
|
||||
config.system.build.nixos-install
|
||||
dosfstools
|
||||
e2fsprogs
|
||||
|
Loading…
Reference in New Issue
Block a user