summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-06-27 10:12:26 +0700
committerGitHub <noreply@github.com>2022-06-27 10:12:26 +0700
commit621a3f9aafc25c6e7b4cf8f6a1870aa63f832885 (patch)
tree1f7eded3a0c7537f2fc579e4e307e0cc71929378
parentMerge pull request #179116 from NixOS/backport-179052-to-release-22.05 (diff)
parentrelease-notes: move zfs update from 22.11 to 22.05 (diff)
downloadnixpkgs-621a3f9aafc25c6e7b4cf8f6a1870aa63f832885.tar.gz
Merge pull request #178830 from Madouura/release/zfs
[Backport release-22.05] zfs: 2.1.4 -> 2.1.5
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2205.section.xml6
-rw-r--r--nixos/doc/manual/release-notes/rl-2205.section.md4
-rw-r--r--pkgs/os-specific/linux/zfs/default.nix18
3 files changed, 18 insertions, 10 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
index 795dd59c7a8b..1ee0f0b8eea0 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
@@ -2820,6 +2820,12 @@ sudo cp /var/lib/redis/dump.rdb /var/lib/redis-peertube/dump.rdb
</listitem>
<listitem>
<para>
+ <literal>zfs</literal> was updated from 2.1.4 to 2.1.5,
+ enabling it to be used with Linux kernel 5.18.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<literal>stdenv.mkDerivation</literal> now supports a
self-referencing <literal>finalAttrs:</literal> parameter
containing the final <literal>mkDerivation</literal> arguments
diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md
index becd582158d5..cfd64973b924 100644
--- a/nixos/doc/manual/release-notes/rl-2205.section.md
+++ b/nixos/doc/manual/release-notes/rl-2205.section.md
@@ -981,7 +981,9 @@ In addition to numerous new and upgraded packages, this release has the followin
was changed.
- The new [`postgresqlTestHook`](https://nixos.org/manual/nixpkgs/stable/#sec-postgresqlTestHook) runs a PostgreSQL server for the duration of package checks.
-
+
+- `zfs` was updated from 2.1.4 to 2.1.5, enabling it to be used with Linux kernel 5.18.
+
- `stdenv.mkDerivation` now supports a self-referencing `finalAttrs:` parameter
containing the final `mkDerivation` arguments including overrides.
`drv.overrideAttrs` now supports two parameters `finalAttrs: previousAttrs:`.
diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix
index 96c6f57b019a..eec2d1ad04ab 100644
--- a/pkgs/os-specific/linux/zfs/default.nix
+++ b/pkgs/os-specific/linux/zfs/default.nix
@@ -16,7 +16,7 @@
, enablePython ? true
# for determining the latest compatible linuxPackages
-, linuxPackages_5_15 ? pkgs.linuxKernel.packages.linux_5_15
+, linuxPackages_5_18 ? pkgs.linuxKernel.packages.linux_5_18
}:
let
@@ -216,28 +216,28 @@ in {
# to be adapted
zfsStable = common {
# check the release notes for compatible kernels
- kernelCompatible = kernel.kernelOlder "5.18";
- latestCompatibleLinuxPackages = linuxPackages_5_15;
+ kernelCompatible = kernel.kernelOlder "5.19";
+ latestCompatibleLinuxPackages = linuxPackages_5_18;
# this package should point to the latest release.
- version = "2.1.4";
+ version = "2.1.5";
- sha256 = "sha256-pHz1N2j+d9p1xleEBwwrmK9mN5gEyM69Suy0dsrkZT4=";
+ sha256 = "sha256-a9rmuPO8R8UfxdHvwjfFuYRGn97a1MPmLZRvr3l0swE=";
};
zfsUnstable = common {
# check the release notes for compatible kernels
- kernelCompatible = kernel.kernelOlder "5.18";
- latestCompatibleLinuxPackages = linuxPackages_5_15;
+ kernelCompatible = kernel.kernelOlder "5.19";
+ latestCompatibleLinuxPackages = linuxPackages_5_18;
# this package should point to a version / git revision compatible with the latest kernel release
# IMPORTANT: Always use a tagged release candidate or commits from the
# zfs-<version>-staging branch, because this is tested by the OpenZFS
# maintainers.
- version = "2.1.4";
+ version = "2.1.5";
# rev = "0000000000000000000000000000000000000000";
- sha256 = "sha256-pHz1N2j+d9p1xleEBwwrmK9mN5gEyM69Suy0dsrkZT4=";
+ sha256 = "sha256-a9rmuPO8R8UfxdHvwjfFuYRGn97a1MPmLZRvr3l0swE=";
isUnstable = true;
};