diff --git a/pkgs/os-specific/linux/shufflecake/default.nix b/pkgs/os-specific/linux/shufflecake/default.nix index 01c634cc4bfd3..372c237e651b5 100644 --- a/pkgs/os-specific/linux/shufflecake/default.nix +++ b/pkgs/os-specific/linux/shufflecake/default.nix @@ -1,22 +1,35 @@ -{ lib, kernel, stdenv, fetchFromGitea, libgcrypt, lvm2 }: +{ + lib, + kernel, + stdenv, + fetchFromGitea, + libgcrypt, + lvm2, +}: stdenv.mkDerivation (finalAttrs: { name = "shufflecake"; - version = "0.4.4"; + version = "0.5.1"; src = fetchFromGitea { domain = "codeberg.org"; owner = "shufflecake"; repo = "shufflecake-c"; rev = "v${finalAttrs.version}"; - hash = "sha256-zvGHM5kajJlROI8vg1yZQ5NvJvuGLV2iKvumdW8aglA="; + hash = "sha256-ULRx+WEz7uQ1C0JDaXORo6lmiwBAwD20j/XP92YE/K0="; }; nativeBuildInputs = kernel.moduleBuildDependencies; - buildInputs = [ libgcrypt lvm2 ]; + buildInputs = [ + libgcrypt + lvm2 + ]; makeFlags = kernel.makeFlags ++ [ "KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" ]; - outputs = [ "out" "bin" ]; + outputs = [ + "out" + "bin" + ]; installPhase = '' install -Dm444 dm-sflc.ko $out/lib/modules/${kernel.modDirVersion}/drivers/md/dm-sflc.ko @@ -30,7 +43,6 @@ stdenv.mkDerivation (finalAttrs: { maintainers = with maintainers; [ oluceps ]; outputsToInstall = [ "bin" ]; platforms = platforms.linux; - broken = kernel.kernelOlder "6.1"; + broken = kernel.kernelOlder "6.1" || kernel.meta.name == "linux-lqx-6.12.1"; }; }) -