Skip to content

Commit

Permalink
nixos/nixpkgs.nix: Correct crossSystem default literal
Browse files Browse the repository at this point in the history
The default is null and the documentation should reflect that.
  • Loading branch information
roberth committed Aug 16, 2020
1 parent 3ab2bf6 commit e7dc692
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nixos/modules/misc/nixpkgs.nix
Expand Up @@ -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
Expand Down

0 comments on commit e7dc692

Please sign in to comment.