···257 <itemizedlist>
258 <listitem>
259 <para>
00000260 The <literal>isCompatible</literal> predicate checking CPU
261 compatibility is no longer exposed by the platform sets
262 generated using <literal>lib.systems.elaborate</literal>. In
···257 <itemizedlist>
258 <listitem>
259 <para>
260+ Nixpkgs now requires Nix 2.3 or newer.
261+ </para>
262+ </listitem>
263+ <listitem>
264+ <para>
265 The <literal>isCompatible</literal> predicate checking CPU
266 compatibility is no longer exposed by the platform sets
267 generated using <literal>lib.systems.elaborate</literal>. In
+2
nixos/doc/manual/release-notes/rl-2211.section.md
···9495## Backward Incompatibilities {#sec-release-22.11-incompatibilities}
960097- The `isCompatible` predicate checking CPU compatibility is no longer exposed
98 by the platform sets generated using `lib.systems.elaborate`. In most cases
99 you will want to use the new `canExecute` predicate instead which also
···9495## Backward Incompatibilities {#sec-release-22.11-incompatibilities}
9697+- Nixpkgs now requires Nix 2.3 or newer.
98+99- The `isCompatible` predicate checking CPU compatibility is no longer exposed
100 by the platform sets generated using `lib.systems.elaborate`. In most cases
101 you will want to use the new `canExecute` predicate instead which also
+7-2
pkgs/build-support/fetchurl/boot.nix
···45{ url ? builtins.head urls
6, urls ? []
7-, sha256
08, name ? baseNameOf (toString url)
9}:
10000011import <nix/fetchurl.nix> {
12- inherit system sha256 name;
1314 url =
15 # Handle mirror:// URIs. Since <nix/fetchurl.nix> currently
···45{ url ? builtins.head urls
6, urls ? []
7+, sha256 ? ""
8+, hash ? ""
9, name ? baseNameOf (toString url)
10}:
1112+# assert exactly one hash is set
13+assert hash != "" || sha256 != "";
14+assert hash != "" -> sha256 == "";
15+16import <nix/fetchurl.nix> {
17+ inherit system hash sha256 name;
1819 url =
20 # Handle mirror:// URIs. Since <nix/fetchurl.nix> currently