mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
Merge pull request #231813 from erdnaxe/kvdo-fix
kvdo: 8.2.0.2 -> 8.2.1.6; unbreak
This commit is contained in:
commit
115cf02e18
@ -1,16 +1,19 @@
|
||||
{ stdenv, lib, fetchFromGitHub, vdo, kernel }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (vdo) version;
|
||||
inherit (vdo);
|
||||
pname = "kvdo";
|
||||
version = "8.2.1.6"; # bump this version with vdo
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dm-vdo";
|
||||
repo = "kvdo";
|
||||
rev = version;
|
||||
hash = "sha256-4FYTFUIvGjea3bh2GbQYG7hSswVDdNS3S+jWQ9+inpg=";
|
||||
hash = "sha256-S5r2Rgx5pWk4IsdIwmfZkuGL/oEQ3prquyVqxjR3cO0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
dontConfigure = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@ -19,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preBuild = ''
|
||||
makeFlags="$makeFlags -C ${KSRC} M=$(pwd)"
|
||||
'';
|
||||
'';
|
||||
installTargets = [ "modules_install" ];
|
||||
|
||||
meta = with lib; {
|
||||
@ -27,6 +30,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/dm-vdo/kvdo";
|
||||
description = "A pair of kernel modules which provide pools of deduplicated and/or compressed block storage";
|
||||
platforms = platforms.linux;
|
||||
broken = kernel.kernelOlder "5.15" || kernel.kernelAtLeast "5.17";
|
||||
broken = kernel.kernelOlder "5.15";
|
||||
};
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vdo";
|
||||
version = "8.2.0.2"; # kvdo uses this!
|
||||
version = "8.2.0.2"; # bump this version with kvdo
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dm-vdo";
|
||||
|
Loading…
Reference in New Issue
Block a user