Skip to content

Commit 1f9fc91

Browse files
committed
treewide: use pkgs.nixos-enter instead of config.system.build.nixos-enter
1 parent 5dcbab6 commit 1f9fc91

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

nixos/doc/manual/development/testing-installer.chapter.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ tedious, so here is a quick way to see if the installer works properly:
66
```ShellSession
77
# mount -t tmpfs none /mnt
88
# nixos-generate-config --root /mnt
9-
$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-install
9+
$ nix-build '<nixpkgs>' -A nixos-install
1010
# ./result/bin/nixos-install
1111
```
1212

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

1515
```ShellSession
16-
$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-enter
16+
$ nix-build '<nixpkgs>' -A nixos-enter
1717
# ./result/bin/nixos-enter
1818
```

nixos/lib/make-disk-image.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ let format' = format; in let
321321
e2fsprogs
322322
lkl
323323
config.system.build.nixos-install
324-
config.system.build.nixos-enter
324+
nixos-enter
325325
nix
326326
systemdMinimal
327327
]

nixos/lib/make-multi-disk-zfs-image.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ let
124124

125125
tools = lib.makeBinPath (
126126
with pkgs; [
127-
config.system.build.nixos-enter
127+
nixos-enter
128128
config.system.build.nixos-install
129129
dosfstools
130130
e2fsprogs

nixos/lib/make-single-disk-zfs-image.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ let
112112

113113
tools = lib.makeBinPath (
114114
with pkgs; [
115-
config.system.build.nixos-enter
115+
nixos-enter
116116
config.system.build.nixos-install
117117
dosfstools
118118
e2fsprogs

0 commit comments

Comments
 (0)