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

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