···260260 </listitem>
261261 <listitem>
262262 <para>
263263+ <literal>pkgs.cosign</literal> does not provide the
264264+ <literal>cosigned</literal> binary anymore.
265265+ </para>
266266+ </listitem>
267267+ <listitem>
268268+ <para>
263269 riak package removed along with
264270 <literal>services.riak</literal> module, due to lack of
265271 maintainer to update the package.
+2
nixos/doc/manual/release-notes/rl-2211.section.md
···101101- PHP 7.4 is no longer supported due to upstream not supporting this
102102 version for the entire lifecycle of the 22.11 release.
103103104104+- `pkgs.cosign` does not provide the `cosigned` binary anymore.
105105+104106- riak package removed along with `services.riak` module, due to lack of maintainer to update the package.
105107106108- The `services.graphite.api` and `services.graphite.beacon` NixOS options, and
+4-2
nixos/lib/eval-config.nix
···99# expressions are ever made modular at the top level) can just use
1010# types.submodule instead of using eval-config.nix
1111evalConfigArgs@
1212-{ # !!! system can be set modularly, would be nice to remove
1212+{ # !!! system can be set modularly, would be nice to remove,
1313+ # however, removing or changing this default is too much
1414+ # of a breaking change. To set it modularly, pass `null`.
1315 system ? builtins.currentSystem
1416, # !!! is this argument needed any more? The pkgs argument can
1517 # be set modularly anyway.
···4850 # this. Since the latter defaults to the former, the former should
4951 # default to the argument. That way this new default could propagate all
5052 # they way through, but has the last priority behind everything else.
5151- nixpkgs.system = lib.mkDefault system;
5353+ nixpkgs.system = lib.mkIf (system != null) (lib.mkDefault system);
52545355 _module.args.pkgs = lib.mkIf (pkgs_ != null) (lib.mkForce pkgs_);
5456 };
+34
nixos/modules/misc/nixpkgs.nix
···244244 defaultText = literalExpression
245245 ''(import "''${nixos}/../lib").lib.systems.examples.aarch64-multiplatform'';
246246 description = ''
247247+ Systems with a recently generated <literal>hardware-configuration.nix</literal>
248248+ do not need to specify this option, unless cross-compiling, in which case
249249+ you should set <emphasis>only</emphasis> <option>nixpkgs.buildPlatform</option>.
250250+251251+ If this is somehow not feasible, you may fall back to removing the
252252+ <option>nixpkgs.hostPlatform</option> line from the generated config and
253253+ use the old options.
254254+247255 Specifies the platform on which NixOS should be built. When
248256 <code>nixpkgs.crossSystem</code> is unset, it also specifies
249257 the platform <emphasis>for</emphasis> which NixOS should be
···265273 default = null;
266274 example = { system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; };
267275 description = ''
276276+ Systems with a recently generated <literal>hardware-configuration.nix</literal>
277277+ may instead specify <emphasis>only</emphasis> <option>nixpkgs.buildPlatform</option>,
278278+ or fall back to removing the <option>nixpkgs.hostPlatform</option> line from the generated config.
279279+268280 Specifies the platform for which NixOS should be
269281 built. Specify this only if it is different from
270282 <code>nixpkgs.localSystem</code>, the platform
···280292 system = mkOption {
281293 type = types.str;
282294 example = "i686-linux";
295295+ default =
296296+ if opt.hostPlatform.isDefined
297297+ then
298298+ throw ''
299299+ Neither ${opt.system} nor any other option in nixpkgs.* is meant
300300+ to be read by modules and configurations.
301301+ Use pkgs.stdenv.hostPlatform instead.
302302+ ''
303303+ else
304304+ throw ''
305305+ Neither ${opt.hostPlatform} nor or the legacy option ${opt.system} has been set.
306306+ You can set ${opt.hostPlatform} in hardware-configuration.nix by re-running
307307+ a recent version of nixos-generate-config.
308308+ The option ${opt.system} is still fully supported for NixOS 22.05 interoperability,
309309+ but will be deprecated in the future, so we recommend to set ${opt.hostPlatform}.
310310+ '';
311311+ defaultText = lib.literalMD ''
312312+ Traditionally `builtins.currentSystem`, but unset when invoking NixOS through `lib.nixosSystem`.
313313+ '';
283314 description = ''
315315+ This option does not need to be specified for NixOS configurations
316316+ with a recently generated <literal>hardware-configuration.nix</literal>.
317317+284318 Specifies the Nix platform type on which NixOS should be built.
285319 It is better to specify <code>nixpkgs.localSystem</code> instead.
286320 <programlisting>
···132132133133 # If the host is 64-bit and the container is 32-bit, add a
134134 # --personality flag.
135135- ${optionalString (config.nixpkgs.localSystem.system == "x86_64-linux") ''
135135+ ${optionalString (pkgs.stdenv.hostPlatform.system == "x86_64-linux") ''
136136 if [ "$(< ''${SYSTEM_PATH:-/nix/var/nix/profiles/per-container/$INSTANCE/system}/system)" = i686-linux ]; then
137137 extraFlags+=" --personality=x86"
138138 fi
+4
pkgs/applications/audio/mopidy/mopidy.nix
···3535 ] ++ lib.optional (!stdenv.isDarwin) dbus-python
3636 );
37373838+ propagatedNativeBuildInputs = [
3939+ gobject-introspection
4040+ ];
4141+3842 # There are no tests
3943 doCheck = false;
4044
···2233buildGoModule rec {
44 pname = "fulcio";
55- version = "0.4.1";
55+ version = "0.5.2";
6677 src = fetchFromGitHub {
88 owner = "sigstore";
99 repo = pname;
1010 rev = "v${version}";
1111- sha256 = "sha256-b+2M28cI+4UkzrIqI+BioxJsGqT0pqJVPTPmXe+NsZo=";
1111+ sha256 = "sha256-jNsW4eUpqa1a1itEnY1932ta3UpjLxhbHz9byM6/Rxo=";
1212 # populate values that require us to use git. By doing this in postFetch we
1313 # can delete .git afterwards and maintain better reproducibility of the src.
1414 leaveDotGit = true;
···2020 find "$out" -name .git -print0 | xargs -0 rm -rf
2121 '';
2222 };
2323- vendorSha256 = "sha256-INPMsSyjFs4GyapOlc/k5fcI2ePUKgp4BtASOKwQhck=";
2323+ vendorSha256 = "sha256-L+20HvkRAs00tbD5q1ATeLrKoa7VFQlrXChh7AtK0PI=";
24242525 nativeBuildInputs = [ installShellFiles ];
2626···2929 ldflags = [
3030 "-s"
3131 "-w"
3232- "-X github.com/sigstore/fulcio/pkg/api.gitVersion=v${version}"
3333- "-X github.com/sigstore/fulcio/pkg/api.gitTreeState=clean"
3232+ "-X github.com/sigstore/fulcio/pkg/server.gitVersion=v${version}"
3333+ "-X github.com/sigstore/fulcio/pkg/server.gitTreeState=clean"
3434 ];
35353636 # ldflags based on metadata from git and source
3737 preBuild = ''
3838- ldflags+=" -X github.com/sigstore/fulcio/pkg/api.gitCommit=$(cat COMMIT)"
3939- ldflags+=" -X github.com/sigstore/fulcio/pkg/api.buildDate=$(cat SOURCE_DATE_EPOCH)"
3838+ ldflags+=" -X github.com/sigstore/fulcio/pkg/server.gitCommit=$(cat COMMIT)"
3939+ ldflags+=" -X github.com/sigstore/fulcio/pkg/server.buildDate=$(cat SOURCE_DATE_EPOCH)"
4040 '';
41414242 preCheck = ''
···4444 unset subPackages
45454646 # skip test that requires networking
4747- substituteInPlace pkg/config/config_test.go \
4747+ substituteInPlace pkg/config/config_network_test.go \
4848 --replace "TestLoad" "SkipLoad"
4949 '';
5050
+1
pkgs/top-level/aliases.nix
···630630631631 jack2Full = jack2; # moved from top-level 2021-03-14
632632 jami-client-gnome = throw "jami-client-gnome has been removed: abandoned upstream"; # Added 2022-05-15
633633+ jami-libclient = throw "jami-libclient has been removed: moved into jami-qt"; # Added 2022-07-29
633634 jamomacore = throw "jamomacore has been removed: abandoned upstream"; # Added 2020-11-21
634635 jbidwatcher = throw "jbidwatcher was discontinued in march 2021"; # Added 2021-03-15
635636 jbuilder = throw "'jbuilder' has been renamed to/replaced by 'dune_1'"; # Converted to throw 2022-02-22