nixos-generate-config: nixpkgs.system -> nixpkgs.hostPlatform
This commit is contained in:
parent
c9fea8c03c
commit
fc0971f436
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue