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
|
```ShellSession
|
||||||
# mount -t tmpfs none /mnt
|
# mount -t tmpfs none /mnt
|
||||||
# nixos-generate-config --root /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
|
# ./result/bin/nixos-install
|
||||||
```
|
```
|
||||||
|
|
||||||
To start a login shell in the new NixOS installation in `/mnt`:
|
To start a login shell in the new NixOS installation in `/mnt`:
|
||||||
|
|
||||||
```ShellSession
|
```ShellSession
|
||||||
$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-enter
|
$ nix-build '<nixpkgs>' -A nixos-enter
|
||||||
# ./result/bin/nixos-enter
|
# ./result/bin/nixos-enter
|
||||||
```
|
```
|
||||||
|
@ -321,7 +321,7 @@ let format' = format; in let
|
|||||||
e2fsprogs
|
e2fsprogs
|
||||||
lkl
|
lkl
|
||||||
config.system.build.nixos-install
|
config.system.build.nixos-install
|
||||||
config.system.build.nixos-enter
|
nixos-enter
|
||||||
nix
|
nix
|
||||||
systemdMinimal
|
systemdMinimal
|
||||||
]
|
]
|
||||||
|
@ -124,7 +124,7 @@ let
|
|||||||
|
|
||||||
tools = lib.makeBinPath (
|
tools = lib.makeBinPath (
|
||||||
with pkgs; [
|
with pkgs; [
|
||||||
config.system.build.nixos-enter
|
nixos-enter
|
||||||
config.system.build.nixos-install
|
config.system.build.nixos-install
|
||||||
dosfstools
|
dosfstools
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
|
@ -112,7 +112,7 @@ let
|
|||||||
|
|
||||||
tools = lib.makeBinPath (
|
tools = lib.makeBinPath (
|
||||||
with pkgs; [
|
with pkgs; [
|
||||||
config.system.build.nixos-enter
|
nixos-enter
|
||||||
config.system.build.nixos-install
|
config.system.build.nixos-install
|
||||||
dosfstools
|
dosfstools
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
|
Loading…
Reference in New Issue
Block a user