Skip to content

Commit a3a1e27

Browse files
committed
multipath-tools: Fix build with multi-output lvm2
It was broken by commit d3a991d (#93024). Signed-off-by: Anders Kaseorg <andersk@mit.edu>
1 parent 89cb711 commit a3a1e27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgs/os-specific/linux/multipath-tools/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
];
1717

1818
postPatch = ''
19-
substituteInPlace libmultipath/Makefile --replace /usr/include/libdevmapper.h ${lvm2}/include/libdevmapper.h
19+
substituteInPlace libmultipath/Makefile --replace /usr/include/libdevmapper.h ${stdenv.lib.getDev lvm2}/include/libdevmapper.h
2020
sed -i -re '
2121
s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'",
2222
' libmultipath/defaults.h

0 commit comments

Comments
 (0)