lvm2: move fix-blkdeactivate.patch to version 2.03.15+ only

+2 -1
+2 -1
pkgs/os-specific/linux/lvm2/common.nix
··· 96 sed -i 's|^#define LVM_CONFIGURE_LINE.*$|#define LVM_CONFIGURE_LINE "<removed>"|g' ./include/configure.h 97 ''; 98 99 - patches = [ 100 # fixes paths to and checks for tools 101 (substituteAll (let 102 optionalTool = cond: pkg: if cond then pkg else "/run/current-system/sw"; 103 in {
··· 96 sed -i 's|^#define LVM_CONFIGURE_LINE.*$|#define LVM_CONFIGURE_LINE "<removed>"|g' ./include/configure.h 97 ''; 98 99 + patches = lib.optionals (lib.versionAtLeast version "2.03.15") [ 100 # fixes paths to and checks for tools 101 + # TODO: needs backport to LVM 2.02 used by static/musl 102 (substituteAll (let 103 optionalTool = cond: pkg: if cond then pkg else "/run/current-system/sw"; 104 in {