Skip to content

Commit

Permalink
multipath-tools: Fix build with multi-output lvm2
Browse files Browse the repository at this point in the history
It was broken by commit d3a991d
(#93024).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk committed Jul 27, 2020
1 parent 89cb711 commit a3a1e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/multipath-tools/default.nix
Expand Up @@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
];

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

0 comments on commit a3a1e27

Please sign in to comment.