From 5c87c72c1f9dfe1e02330eefc8c209925d5a3fcb Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 21 Jan 2023 13:26:47 +0100 Subject: [PATCH] nixos/init-script: fix eval error: attribute 'nixos' missing This was missed in https://github.com/NixOS/nixpkgs/commit/d3528cdc3dbe82a0551707fe869aec02bba72956 --- nixos/modules/system/boot/loader/init-script/init-script.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/loader/init-script/init-script.nix b/nixos/modules/system/boot/loader/init-script/init-script.nix index 908f8b8e8c49..4d33ed6b665b 100644 --- a/nixos/modules/system/boot/loader/init-script/init-script.nix +++ b/nixos/modules/system/boot/loader/init-script/init-script.nix @@ -8,7 +8,7 @@ let src = ./init-script-builder.sh; isExecutable = true; inherit (pkgs) bash; - inherit (config.nixos.system) distroName; + inherit (config.system.nixos) distroName; path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep]; };