Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ci/eval/outpaths.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ let
allowVariants = !attrNamesOnly;
checkMeta = true;

# Silence the `x86_64-darwin` deprecation warning.
allowDeprecatedx86_64Darwin = true;

handleEvalIssue =
reason: errormsg:
let
Expand Down
17 changes: 17 additions & 0 deletions pkgs/top-level/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,23 @@ let
Please read https://www.visualstudio.com/license-terms/mt644918/ and enable this config if you accept.
'';
};

allowDeprecatedx86_64Darwin = mkOption {
# `force` does nothing; it’s reserved for forward compatibility
# with 26.11. We hide it from the documentation to avoid a
# footgun, as it will make the error in 26.11 less useful.
type = types.either types.bool (types.enum [ "force" ]) // {
inherit (types.bool) description descriptionClass;
};
default = false;
description = ''
Silence the warning for the upcoming deprecation of the
`x86_64-darwin` platform in Nixpkgs 26.11.

This does nothing in 25.11, and is provided there for forward
compatibility of configurations with 26.05.
'';
};
};

in
Expand Down
Loading