Loading pkgs/stdenv/generic/check-meta.nix +2 −2 Original line number Diff line number Diff line Loading @@ -64,8 +64,8 @@ let in if envVar != "" then envVar != "0" else config.allowNonSource or true; allowlist = config.allowlistedLicenses; blocklist = config.blocklistedLicenses; allowlist = config.allowlistedLicenses or config.whitelistedLicenses or [ ]; blocklist = config.blocklistedLicenses or config.blacklistedLicenses or [ ]; areLicenseListsValid = if mutuallyExclusive allowlist blocklist then Loading pkgs/top-level/config.nix +0 −30 Original line number Diff line number Diff line Loading @@ -229,36 +229,6 @@ let ''; }; allowlistedLicenses = mkOption { description = '' Allow licenses that are specifically acceptable. `allowlistedLicenses` only applies to unfree licenses unless `allowUnfree` is enabled. It is not a generic allowlist for all types of licenses. ''; default = [ ]; type = types.listOf (types.attrsOf types.anything); example = literalExpression '' with lib.licenses; [ amd wtfpl ] ''; }; blocklistedLicenses = mkOption { description = '' Block licenses that are specifically unacceptable. Unlike `allowlistedLicenses`, `blocklistedLicenses` applies to all licenses. ''; default = [ ]; type = types.listOf (types.attrsOf types.anything); example = literalExpression '' with lib.licenses; [ agpl3Only gpl3Only ] ''; }; cudaSupport = mkMassRebuild { feature = "build packages with CUDA support by default"; }; Loading Loading
pkgs/stdenv/generic/check-meta.nix +2 −2 Original line number Diff line number Diff line Loading @@ -64,8 +64,8 @@ let in if envVar != "" then envVar != "0" else config.allowNonSource or true; allowlist = config.allowlistedLicenses; blocklist = config.blocklistedLicenses; allowlist = config.allowlistedLicenses or config.whitelistedLicenses or [ ]; blocklist = config.blocklistedLicenses or config.blacklistedLicenses or [ ]; areLicenseListsValid = if mutuallyExclusive allowlist blocklist then Loading
pkgs/top-level/config.nix +0 −30 Original line number Diff line number Diff line Loading @@ -229,36 +229,6 @@ let ''; }; allowlistedLicenses = mkOption { description = '' Allow licenses that are specifically acceptable. `allowlistedLicenses` only applies to unfree licenses unless `allowUnfree` is enabled. It is not a generic allowlist for all types of licenses. ''; default = [ ]; type = types.listOf (types.attrsOf types.anything); example = literalExpression '' with lib.licenses; [ amd wtfpl ] ''; }; blocklistedLicenses = mkOption { description = '' Block licenses that are specifically unacceptable. Unlike `allowlistedLicenses`, `blocklistedLicenses` applies to all licenses. ''; default = [ ]; type = types.listOf (types.attrsOf types.anything); example = literalExpression '' with lib.licenses; [ agpl3Only gpl3Only ] ''; }; cudaSupport = mkMassRebuild { feature = "build packages with CUDA support by default"; }; Loading