complete-computing-environment/zfs-5_15-un-broken.org

38 lines
1.5 KiB
Org Mode

:PROPERTIES:
:roam_refs: https://github.com/NixOS/nixpkgs/issues/150517
:ID: 20211214T165947.060707
:END:
#+title: ZFS broken on latest linux (>5.10) · Issue #150517 · NixOS/nixpkgs
#+filetags: :Archive:
[[file:archive.org][Archive]] [[id:c75d20e6-8888-4c5a-ac97-5997e2f1c711][nixpkgs]] [[id:e7320ba1-8fe4-4f67-b15b-03f7c44409ba][Software Engineering]]
#+BEGIN_QUOTE
ZFS (both stable and unstable) are currently marked as broken on linux version 5.15 because it isn't mentioned as supported in the latest release.
Version 5.14 was marked as supported, but since #147446, this version is EOL and is removed, leaving the latest supported version on 5.10 (broken on my own system).
There has been a PR merged into zfs' master (openzfs/zfs#12824) claiming support for 5.15, but I don't know if it is wise to include this in nixpkgs yet.
#+END_QUOTE
This 5.15 is safe and pending an update so i'll include this workaround is required for [[id:cce/cce][CCE]] on [[id:20211030T172526.854851][NixOS on the Framework Laptop]]:
,#+ARROYO_NIXOS_MODULE: nixos/linux_zfs_5_15_broken.nix
,#+ARROYO_SYSTEM_ROLE: settop
,#+ARROYO_SYSTEM_ROLE: endpoint
#+begin_src nix :tangle ~/arroyo-nix/nixos/linux_zfs_5_15_broken.nix
{ pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_5_15.extend (final: prev: {
zfs = prev.zfs.overrideAttrs (_: { meta.broken = false; });
});
}
#+end_src
* DONE look at this
SCHEDULED: <2022-01-25 Tue>
:LOGBOOK:
- State "DONE" from "NEXT" [2022-02-24 Thu 10:31]
:END: