···2828 packages = [
2929 (with dotnetCorePackages; combinePackages [
3030 sdk_3_1
3131- sdk_5_0
3131+ sdk_6_0
3232 ])
3333 ];
3434}
3535```
36363737-This will produce a dotnet installation that has the dotnet 3.1, 3.0, and 2.1 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output:
3737+This will produce a dotnet installation that has the dotnet 3.1 6.0 sdk. The first sdk listed will have it's cli utility present in the resulting environment. Example info output:
38383939```ShellSession
4040$ dotnet --info
···120120 projectReferences = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure.
121121122122 dotnet-sdk = dotnetCorePackages.sdk_3_1;
123123- dotnet-runtime = dotnetCorePackages.net_5_0;
123123+ dotnet-runtime = dotnetCorePackages.net_6_0;
124124125125 executables = [ "foo" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`.
126126 executables = []; # Don't install any executables.
+6-1
lib/licenses.nix
···715715716716 ncsa = {
717717 spdxId = "NCSA";
718718- fullName = "University of Illinois/NCSA Open Source License";
718718+ fullName = "University of Illinois/NCSA Open Source License";
719719+ };
720720+721721+ nlpl = {
722722+ spdxId = "NLPL";
723723+ fullName = "No Limit Public License";
719724 };
720725721726 nposl3 = {
···6363 </listitem>
6464 <listitem>
6565 <para>
6666+ <link xlink:href="https://www.magicbug.co.uk/cloudlog/">Cloudlog</link>,
6767+ a web-based Amateur Radio logging application. Available as
6868+ <link linkend="opt-services.cloudlog.enable">services.cloudlog</link>.
6969+ </para>
7070+ </listitem>
7171+ <listitem>
7272+ <para>
6673 <link xlink:href="https://github.com/junegunn/fzf">fzf</link>,
6774 a command line fuzzyfinder. Available as
6875 <link linkend="opt-programs.fzf.fuzzyCompletion">programs.fzf</link>.
···376383 package has been removed in favour of direct use of its
377384 constitutents: <literal>xorg.libX11</literal>,
378385 <literal>freetype</literal> and others.
386386+ </para>
387387+ </listitem>
388388+ <listitem>
389389+ <para>
390390+ .NET 5.0 was removed due to being end-of-life, use a newer,
391391+ supported .NET version -
392392+ https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
379393 </para>
380394 </listitem>
381395 <listitem>
+4
nixos/doc/manual/release-notes/rl-2305.section.md
···24242525- [cups-pdf-to-pdf](https://github.com/alexivkin/CUPS-PDF-to-PDF), a pdf-generating cups backend based on [cups-pdf](https://www.cups-pdf.de/). Available as [services.printing.cups-pdf](#opt-services.printing.cups-pdf.enable).
26262727+- [Cloudlog](https://www.magicbug.co.uk/cloudlog/), a web-based Amateur Radio logging application. Available as [services.cloudlog](#opt-services.cloudlog.enable).
2828+2729- [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.fuzzyCompletion).
28302931- [gmediarender](https://github.com/hzeller/gmrender-resurrect), a simple, headless UPnP/DLNA renderer. Available as [services.gmediarender](options.html#opt-services.gmediarender.enable).
···9294- The `nix.readOnlyStore` option has been renamed to `boot.readOnlyNixStore` to clarify that it configures the NixOS boot process, not the Nix daemon.
93959496- Deprecated `xlibsWrapper` transitional package has been removed in favour of direct use of its constitutents: `xorg.libX11`, `freetype` and others.
9797+9898+- .NET 5.0 was removed due to being end-of-life, use a newer, supported .NET version - https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
959996100- The iputils package, which is installed by default, no longer provides the
97101 `ninfod`, `rarpd` and `rdisc` tools. See
···11{ lib, mkCoqDerivation, coq, version ? null }:
2233-with lib; mkCoqDerivation {
33+mkCoqDerivation {
44 pname = "StructTact";
55 owner = "uwplse";
66 inherit version;
77- defaultVersion = with versions; switch coq.coq-version [
77+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
88 { case = range "8.6" "8.16"; out = "20210328"; }
99 { case = range "8.5" "8.13"; out = "20181102"; }
1010 ] null;
+2-4
pkgs/development/coq-modules/VST/default.nix
···11{ lib, mkCoqDerivation, coq, compcert, ITree, version ? null }:
2233-with lib;
44-53# A few modules that are not built and installed by default
64# but that may be useful to some users.
75# They depend on ITree.
···119 "powerlater.v"
1210 ]
1311 # floyd/printf.v is broken in VST 2.9
1414- ++ optional (!versions.isGe "8.13" coq.coq-version) "printf.v"
1212+ ++ lib.optional (!lib.versions.isGe "8.13" coq.coq-version) "printf.v"
1513 ++ [
1614 "quickprogram.v"
1715 ];
···2422 owner = "PrincetonUniversity";
2523 repo = "VST";
2624 inherit version;
2727- defaultVersion = with versions; switch coq.coq-version [
2525+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
2826 { case = range "8.15" "8.16"; out = "2.11.1"; }
2927 { case = range "8.14" "8.16"; out = "2.10"; }
3028 { case = range "8.13" "8.15"; out = "2.9"; }
···11+diff --git a/bin/fiber/fiber.ml b/bin/fiber/fiber.ml
22+index 188a92cc9..6087a8687 100644
33+--- a/bin/fiber/fiber.ml
44++++ b/bin/fiber/fiber.ml
55+@@ -129,7 +129,7 @@ let worker pool =
66+77+ let get_concurrency () =
88+ try
99+- let ic = Unix.open_process_in "getconf _NPROCESSORS_ONLN" in
1010++ let ic = Unix.open_process_in "@getconf@/bin/getconf _NPROCESSORS_ONLN" in
1111+ let close () = ignore (Unix.close_process_in ic) in
1212+ let sc = Scanf.Scanning.from_channel ic in
1313+ try
···2222, nixosTests
2323}:
24242525-with lib;
2625stdenv.mkDerivation rec {
2726 pname = "cups";
2828-2927 version = "2.4.2";
30283129 src = fetchurl {
···4846 nativeBuildInputs = [ pkg-config removeReferencesTo ];
49475048 buildInputs = [ zlib libjpeg libpng libtiff libusb1 gnutls libpaper ]
5151- ++ optionals stdenv.isLinux [ avahi pam dbus acl ]
5252- ++ optional enableSystemd systemd
5353- ++ optionals stdenv.isDarwin (with darwin; [
4949+ ++ lib.optionals stdenv.isLinux [ avahi pam dbus acl ]
5050+ ++ lib.optional enableSystemd systemd
5151+ ++ lib.optionals stdenv.isDarwin (with darwin; [
5452 configd apple_sdk.frameworks.ApplicationServices
5553 ]);
5654···6260 "--sysconfdir=/etc"
6361 "--enable-raw-printing"
6462 "--enable-threads"
6565- ] ++ optionals stdenv.isLinux [
6363+ ] ++ lib.optionals stdenv.isLinux [
6664 "--enable-dbus"
6765 "--enable-pam"
6866 "--with-dbusdir=${placeholder "out"}/share/dbus-1"
6969- ] ++ optional (libusb1 != null) "--enable-libusb"
7070- ++ optional (gnutls != null) "--enable-ssl"
7171- ++ optional (avahi != null) "--enable-avahi"
7272- ++ optional (libpaper != null) "--enable-libpaper";
6767+ ] ++ lib.optional (libusb1 != null) "--enable-libusb"
6868+ ++ lib.optional (gnutls != null) "--enable-ssl"
6969+ ++ lib.optional (avahi != null) "--enable-avahi"
7070+ ++ lib.optional (libpaper != null) "--enable-libpaper";
73717472 # AR has to be an absolute path
7573 preConfigure = ''
7676- export AR="${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
7474+ export AR="${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
7775 configureFlagsArray+=(
7876 # Put just lib/* and locale into $lib; this didn't work directly.
7977 # lib/cups is moved back to $out in postInstall.
···84828583 "--with-systemd=$out/lib/systemd/system"
86848787- ${optionalString stdenv.isDarwin ''
8585+ ${lib.optionalString stdenv.isDarwin ''
8886 "--with-bundledir=$out"
8987 ''}
9088 )
···130128 for f in "$out"/lib/systemd/system/*; do
131129 substituteInPlace "$f" --replace "$lib/$libexec" "$out/$libexec"
132130 done
133133- '' + optionalString stdenv.isLinux ''
131131+ '' + lib.optionalString stdenv.isLinux ''
134132 # Use xdg-open when on Linux
135133 substituteInPlace "$out"/share/applications/cups.desktop \
136134 --replace "Exec=htmlview" "Exec=xdg-open"
···138136139137 passthru.tests.nixos = nixosTests.printing;
140138141141- meta = {
139139+ meta = with lib; {
142140 homepage = "https://openprinting.github.io/cups/";
143141 description = "A standards-based printing system for UNIX";
144142 license = licenses.asl20;
+2-1
pkgs/misc/dxvk/default.nix
···7788stdenvNoCC.mkDerivation (finalAttrs:
99 let
1010- inherit (stdenvNoCC.hostPlatform.uname) system;
1010+ system = lib.toLower stdenvNoCC.targetPlatform.uname.system;
1111+1112 # DXVK needs to be a separate derivation because it’s actually a set of DLLs for Windows that
1213 # needs to be built with a cross-compiler.
1314 dxvk32 = pkgsCross.mingw32.callPackage ./dxvk.nix {
+3-3
pkgs/misc/fastly/default.nix
···8899buildGoModule rec {
1010 pname = "fastly";
1111- version = "4.6.2";
1111+ version = "5.0.0";
12121313 src = fetchFromGitHub {
1414 owner = "fastly";
1515 repo = "cli";
1616 rev = "refs/tags/v${version}";
1717- hash = "sha256-E91Vg/dPJQwBZar7Wo5IeMlFoI/jwz7ALtv67DW1Rsk=";
1717+ hash = "sha256-rbb+OtzOZbTYJt4IH1QXKdQ9JevGLEvhcC+F7rW337k=";
1818 # The git commit is part of the `fastly version` original output;
1919 # leave that output the same in nixpkgs. Use the `.git` directory
2020 # to retrieve the commit SHA, and remove the directory afterwards,
···3131 "cmd/fastly"
3232 ];
33333434- vendorHash = "sha256-Gyc0c3RntrWFEqk+AixvXSRRqjr7SEYGeqIJ/ysoFgs=";
3434+ vendorHash = "sha256-TxF0H1kZSn9VFrR8z5JJwWXCG6Gl8QH88qwQidGY7oc=";
35353636 nativeBuildInputs = [
3737 installShellFiles
···2525 test = nixosTests.nbd;
2626 };
27272828- # Glib calls `clock_gettime', which is in librt. Linking that library
2929- # here ensures that a proper rpath is added to the executable so that
3030- # it can be loaded at run-time.
3131- NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lrt -lpthread";
3232-3328 meta = {
3429 homepage = "https://nbd.sourceforge.io/";
3530 description = "Map arbitrary files as block devices over the network";