···428429 UEFI systems
430431- : You must select a boot-loader, either system-boot or GRUB. The recommended
432 option is systemd-boot: set the option [](#opt-boot.loader.systemd-boot.enable)
433 to `true`. `nixos-generate-config` should do this automatically
434 for new configurations when booted in UEFI mode.
···441 If you want to use GRUB, set [](#opt-boot.loader.grub.device) to `nodev` and
442 [](#opt-boot.loader.grub.efiSupport) to `true`.
443444- With system-boot, you should not need any special configuration to detect
445 other installed systems. With GRUB, set [](#opt-boot.loader.grub.useOSProber)
446- to `true`, but this will only detect windows partitions, not other linux
447- distributions. If you dual boot another linux distribution, use system-boot
448 instead.
449450 If you need to configure networking for your machine the
···428429 UEFI systems
430431+ : You must select a boot-loader, either systemd-boot or GRUB. The recommended
432 option is systemd-boot: set the option [](#opt-boot.loader.systemd-boot.enable)
433 to `true`. `nixos-generate-config` should do this automatically
434 for new configurations when booted in UEFI mode.
···441 If you want to use GRUB, set [](#opt-boot.loader.grub.device) to `nodev` and
442 [](#opt-boot.loader.grub.efiSupport) to `true`.
443444+ With systemd-boot, you should not need any special configuration to detect
445 other installed systems. With GRUB, set [](#opt-boot.loader.grub.useOSProber)
446+ to `true`, but this will only detect windows partitions, not other Linux
447+ distributions. If you dual boot another Linux distribution, use systemd-boot
448 instead.
449450 If you need to configure networking for your machine the
+2
nixos/doc/manual/release-notes/rl-2305.section.md
···7879- `git-bug` has been updated to at least version 0.8.0, which includes backwards incompatible changes. The `git-bug-migration` package can be used to upgrade existing repositories.
800081- The `services.kubo.settings` option is now no longer stateful. If you changed any of the options in `services.kubo.settings` in the past and then removed them from your NixOS configuration again, those changes are still in your Kubo configuration file but will now be reset to the default. If you're unsure, you may want to make a backup of your configuration file (probably /var/lib/ipfs/config) and compare after the update.
8283- The EC2 image module no longer fetches instance metadata in stage-1. This results in a significantly smaller initramfs, since network drivers no longer need to be included, and faster boots, since metadata fetching can happen in parallel with startup of other services.
···7879- `git-bug` has been updated to at least version 0.8.0, which includes backwards incompatible changes. The `git-bug-migration` package can be used to upgrade existing repositories.
8081+- `keepassx` and `keepassx2` have been removed, due to upstream [stopping development](https://www.keepassx.org/index.html%3Fp=636.html). Consider [KeePassXC](https://keepassxc.org) as a maintained alternative.
82+83- The `services.kubo.settings` option is now no longer stateful. If you changed any of the options in `services.kubo.settings` in the past and then removed them from your NixOS configuration again, those changes are still in your Kubo configuration file but will now be reset to the default. If you're unsure, you may want to make a backup of your configuration file (probably /var/lib/ipfs/config) and compare after the update.
8485- The EC2 image module no longer fetches instance metadata in stage-1. This results in a significantly smaller initramfs, since network drivers no longer need to be included, and faster boots, since metadata fetching can happen in parallel with startup of other services.
···21}:
2223let
24+ inherit (cudaPackages) cudatoolkit nccl;
25+ # The default for cudatoolkit 10.1 is CUDNN 8.0.5, the last version to support CUDA 10.1.
26+ # However, this caffe does not build with CUDNN 8.x, so we use CUDNN 7.6.5 instead.
27+ # Earlier versions of cudatoolkit use pre-8.x CUDNN, so we use the default.
28+ cudnn = if lib.versionOlder cudatoolkit.version "10.1"
29+ then cudaPackages.cudnn
30+ else cudaPackages.cudnn_7_6_5;
31in
3233assert leveldbSupport -> (leveldb != null && snappy != null);
···1-From 2cc99c9cdc8fde5e92e34f9655829449cebd3e00 Mon Sep 17 00:00:00 2001
2-From: Dmitry Goldin <dgoldin+lkml@protonmail.ch>
3-Date: Fri, 4 Oct 2019 10:40:07 +0000
4-Subject: kheaders: make headers archive reproducible
5-6-In commit 43d8ce9d65a5 ("Provide in-kernel headers to make
7-extending kernel easier") a new mechanism was introduced, for kernels
8->=5.2, which embeds the kernel headers in the kernel image or a module
9-and exposes them in procfs for use by userland tools.
10-11-The archive containing the header files has nondeterminism caused by
12-header files metadata. This patch normalizes the metadata and utilizes
13-KBUILD_BUILD_TIMESTAMP if provided and otherwise falls back to the
14-default behaviour.
15-16-In commit f7b101d33046 ("kheaders: Move from proc to sysfs") it was
17-modified to use sysfs and the script for generation of the archive was
18-renamed to what is being patched.
19-20-Signed-off-by: Dmitry Goldin <dgoldin+lkml@protonmail.ch>
21-Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22-Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
23-Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
24-25----
26-27-nixos note: This patch is from
28-https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?h=fixes&id=2cc99c9cdc8fde5e92e34f9655829449cebd3e00
29-I commented out the documentation part here, so that it easily applies
30-to linux 5.2 and 5.3, which does not ship with the reproducible build
31-documentation yet, which only was introduced recently.
32-33----
34- Documentation/kbuild/reproducible-builds.rst | 13 +++++++++----
35- kernel/gen_kheaders.sh | 5 ++++-
36- 2 files changed, 13 insertions(+), 5 deletions(-)
37-38-#diff --git a/Documentation/kbuild/reproducible-builds.rst b/Documentation/kbuild/reproducible-builds.rst
39-#index ab92e98c89c8..503393854e2e 100644
40-# --- a/Documentation/kbuild/reproducible-builds.rst
41-#+++ b/Documentation/kbuild/reproducible-builds.rst
42-#@@ -16,16 +16,21 @@ the kernel may be unreproducible, and how to avoid them.
43-# Timestamps
44-# ----------
45-#
46-#-The kernel embeds a timestamp in two places:
47-#+The kernel embeds timestamps in three places:
48-#
49-# * The version string exposed by ``uname()`` and included in
50-# ``/proc/version``
51-#
52-# * File timestamps in the embedded initramfs
53-#
54-#-By default the timestamp is the current time. This must be overridden
55-#-using the `KBUILD_BUILD_TIMESTAMP`_ variable. If you are building
56-#-from a git commit, you could use its commit date.
57-#+* If enabled via ``CONFIG_IKHEADERS``, file timestamps of kernel
58-#+ headers embedded in the kernel or respective module,
59-#+ exposed via ``/sys/kernel/kheaders.tar.xz``
60-#+
61-#+By default the timestamp is the current time and in the case of
62-#+``kheaders`` the various files' modification times. This must
63-#+be overridden using the `KBUILD_BUILD_TIMESTAMP`_ variable.
64-#+If you are building from a git commit, you could use its commit date.
65-#
66-# The kernel does *not* use the ``__DATE__`` and ``__TIME__`` macros,
67-# and enables warnings if they are used. If you incorporate external
68-diff --git a/kernel/gen_kheaders.sh b/kernel/gen_kheaders.sh
69-index 9ff449888d9c..aff79e461fc9 100755
70---- a/kernel/gen_kheaders.sh
71-+++ b/kernel/gen_kheaders.sh
72-@@ -71,7 +71,10 @@ done | cpio --quiet -pd $cpio_dir >/dev/null 2>&1
73- find $cpio_dir -type f -print0 |
74- xargs -0 -P8 -n1 perl -pi -e 'BEGIN {undef $/;}; s/\/\*((?!SPDX).)*?\*\///smg;'
75-76--tar -Jcf $tarfile -C $cpio_dir/ . > /dev/null
77-+# Create archive and try to normalize metadata for reproducibility
78-+tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \
79-+ --owner=0 --group=0 --sort=name --numeric-owner \
80-+ -Jcf $tarfile -C $cpio_dir/ . > /dev/null
81-82- echo "$src_files_md5" > kernel/kheaders.md5
83- echo "$obj_files_md5" >> kernel/kheaders.md5
84---
85-cgit 1.2-0.3.lf.el7
86-
···729 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # Added 2020-06-16
730 kdiff3-qt5 = throw "'kdiff3-qt5' has been renamed to/replaced by 'kdiff3'"; # Converted to throw 2022-02-22
731 keepass-keefox = throw "'keepass-keefox' has been renamed to/replaced by 'keepass-keepassrpc'"; # Converted to throw 2022-02-22
0732 keepassx-community = throw "'keepassx-community' has been renamed to/replaced by 'keepassxc'"; # Converted to throw 2022-02-22
733 keepassx-reboot = throw "'keepassx-reboot' has been renamed to/replaced by 'keepassx-community'"; # Converted to throw 2022-02-22
0734 keepassx2-http = throw "'keepassx2-http' has been renamed to/replaced by 'keepassx-reboot'"; # Converted to throw 2022-02-22
735 keepnote = throw "keepnote has been removed from nixpkgs, as it is stuck on python2"; # Added 2022-01-01
736 kerberos = libkrb5; # moved from top-level 2021-03-14
···729 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # Added 2020-06-16
730 kdiff3-qt5 = throw "'kdiff3-qt5' has been renamed to/replaced by 'kdiff3'"; # Converted to throw 2022-02-22
731 keepass-keefox = throw "'keepass-keefox' has been renamed to/replaced by 'keepass-keepassrpc'"; # Converted to throw 2022-02-22
732+ keepassx = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17
733 keepassx-community = throw "'keepassx-community' has been renamed to/replaced by 'keepassxc'"; # Converted to throw 2022-02-22
734 keepassx-reboot = throw "'keepassx-reboot' has been renamed to/replaced by 'keepassx-community'"; # Converted to throw 2022-02-22
735+ keepassx2 = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17
736 keepassx2-http = throw "'keepassx2-http' has been renamed to/replaced by 'keepassx-reboot'"; # Converted to throw 2022-02-22
737 keepnote = throw "keepnote has been removed from nixpkgs, as it is stuck on python2"; # Added 2022-01-01
738 kerberos = libkrb5; # moved from top-level 2021-03-14