summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/installer/tools/nixos-option.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/installer/tools/nixos-option.sh b/nixos/modules/installer/tools/nixos-option.sh
index ffd624227fbd..3016536ecddf 100644
--- a/nixos/modules/installer/tools/nixos-option.sh
+++ b/nixos/modules/installer/tools/nixos-option.sh
@@ -83,9 +83,8 @@ EOF
   fi
 }
 
-header="
-let
-  nixos = import <nixos> {};
+header="let
+  nixos = import <nixpkgs/nixos> {};
   nixpkgs = import <nixpkgs> {};
 in with nixpkgs.lib;
 "