summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2020-08-16 10:10:20 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-08-26 13:35:35 +0200
commit4d43de37b26e5d887d9a1b20e2e0294a560b42b9 (patch)
tree93e960cbe475f008e1c4ecdac2d7d674230da1e9
parentbd37bc58f91d9e22d4fdc183d7342607b7b75610 (diff)
downloadnixpkgs-4d43de37b26e5d887d9a1b20e2e0294a560b42b9.tar
nixpkgs-4d43de37b26e5d887d9a1b20e2e0294a560b42b9.tar.gz
nixpkgs-4d43de37b26e5d887d9a1b20e2e0294a560b42b9.tar.bz2
nixpkgs-4d43de37b26e5d887d9a1b20e2e0294a560b42b9.tar.lz
nixpkgs-4d43de37b26e5d887d9a1b20e2e0294a560b42b9.tar.xz
nixpkgs-4d43de37b26e5d887d9a1b20e2e0294a560b42b9.tar.zst
nixpkgs-4d43de37b26e5d887d9a1b20e2e0294a560b42b9.zip
nixos/nixpkgs.nix: Correct crossSystem default literal
The default is null and the documentation should reflect that.
-rw-r--r--nixos/modules/misc/nixpkgs.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/misc/nixpkgs.nix b/nixos/modules/misc/nixpkgs.nix
index 4f5a9250eaa..25ac94b8e0f 100644
--- a/nixos/modules/misc/nixpkgs.nix
+++ b/nixos/modules/misc/nixpkgs.nix
@@ -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