You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/systems/default.nix
+32-3Lines changed: 32 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,11 @@ let
66
66
# `parsed` is inferred from args, both because there are two options with one
67
67
# clearly preferred, and to prevent cycles. A simpler fixed point where the RHS
68
68
# always just used `final.*` would fail on both counts.
69
-
elaborate=systemOrArgs: let
69
+
elaborate=systemOrArgs:
70
+
assertlib.assertMsg(!(lib.oldestSupportedReleaseIsAtLeast2511&&systemOrArgs ? useLLVM))"The useLLVM attribute has been deprecated in favor of the toolchain attributes.";
71
+
assertlib.assertMsg(!(lib.oldestSupportedReleaseIsAtLeast2511&&systemOrArgs ? useArocc))"The useArocc attribute has been deprecated in favor of the toolchain attributes.";
72
+
assertlib.assertMsg(!(lib.oldestSupportedReleaseIsAtLeast2511&&systemOrArgs ? useZig))"The useZig attribute has been deprecated in favor of the toolchain attributes.";
73
+
let
70
74
allArgs=systemToAttrssystemOrArgs;
71
75
72
76
# Those two will always be derived from "config", if given, so they should NOT
@@ -92,6 +96,21 @@ let
92
96
isCompatible=_: throw"2022-05-23: isCompatible has been removed in favor of canExecute, refer to the 22.11 changelog for details";
0 commit comments