about summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-05-02 20:39:43 +0300
committerArtturin <Artturin@artturin.com>2022-05-02 20:39:43 +0300
commit9f05fc666188c06d5bcc8c1f352d77244ec6f91d (patch)
tree25d13f57fcc3ef9ae53c333474e313e87bce40da /pkgs/stdenv
parent9f473092f84f9d704810146fec2a919bf96e5bf0 (diff)
config.allowUnsupportedSystem: define as option
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/generic/check-meta.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix
index ba9eae53d35f3..e0ead55d1a786 100644
--- a/pkgs/stdenv/generic/check-meta.nix
+++ b/pkgs/stdenv/generic/check-meta.nix
@@ -37,7 +37,7 @@ let
   allowBroken = config.allowBroken
     || builtins.getEnv "NIXPKGS_ALLOW_BROKEN" == "1";
 
-  allowUnsupportedSystem = config.allowUnsupportedSystem or false
+  allowUnsupportedSystem = config.allowUnsupportedSystem
     || builtins.getEnv "NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM" == "1";
 
   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;