···257257 <itemizedlist>
258258 <listitem>
259259 <para>
260260+ Nixpkgs now requires Nix 2.3 or newer.
261261+ </para>
262262+ </listitem>
263263+ <listitem>
264264+ <para>
260265 The <literal>isCompatible</literal> predicate checking CPU
261266 compatibility is no longer exposed by the platform sets
262267 generated using <literal>lib.systems.elaborate</literal>. In
+2
nixos/doc/manual/release-notes/rl-2211.section.md
···94949595## Backward Incompatibilities {#sec-release-22.11-incompatibilities}
96969797+- Nixpkgs now requires Nix 2.3 or newer.
9898+9799- The `isCompatible` predicate checking CPU compatibility is no longer exposed
98100 by the platform sets generated using `lib.systems.elaborate`. In most cases
99101 you will want to use the new `canExecute` predicate instead which also
+7-2
pkgs/build-support/fetchurl/boot.nix
···4455{ url ? builtins.head urls
66, urls ? []
77-, sha256
77+, sha256 ? ""
88+, hash ? ""
89, name ? baseNameOf (toString url)
910}:
10111212+# assert exactly one hash is set
1313+assert hash != "" || sha256 != "";
1414+assert hash != "" -> sha256 == "";
1515+1116import <nix/fetchurl.nix> {
1212- inherit system sha256 name;
1717+ inherit system hash sha256 name;
13181419 url =
1520 # Handle mirror:// URIs. Since <nix/fetchurl.nix> currently