nixos/nixpkgs.nix: Correct crossSystem default literal

The default is null and the documentation should reflect that.
This commit is contained in:
Robert Hensing 2020-08-16 10:10:20 +02:00 committed by Frederik Rietdijk
parent bd37bc58f9
commit 4d43de37b2

View file

@ -178,8 +178,6 @@ in
type = types.nullOr types.attrs; # TODO utilize lib.systems.parsedPlatform
default = null;
example = { system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; };
defaultText = literalExample
''(import "''${nixos}/../lib").lib.systems.examples.aarch64-multiplatform'';
description = ''
Specifies the platform for which NixOS should be
built. Specify this only if it is different from