diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-06-15 13:13:31 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-06-21 14:22:36 +0200 |
commit | fc0971f4364fa7f8bfbae3bb789fb7e22128a7c7 (patch) | |
tree | 3a7d8ddf0889f2546f846e17eeb260c6fb7d5f82 /nixos/modules | |
parent | c9fea8c03cd76c841392feb69b7f6d37f527399e (diff) |
nixos-generate-config: nixpkgs.system -> nixpkgs.hostPlatform
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 5674bf348d101..65b5c0331f42d 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -90,7 +90,7 @@ if ($status != 0 || join("", @systemLines) =~ /error/) { die "Failed to retrieve current system type from nix.\n"; } my $system = substr(@systemLines[0], 0, -1); -push @attrs, "nixpkgs.system = lib.mkDefault $system;"; +push @attrs, "nixpkgs.hostPlatform = lib.mkDefault $system;"; my $cpuinfo = read_file "/proc/cpuinfo"; |