Skip to content

Commit

Permalink
python2Packages.nixpart0/multipath_tools: fixup path to internal libr…
Browse files Browse the repository at this point in the history
…aries

(cherry picked from commit 05f1bcc)
  • Loading branch information
pbogdan authored and aszlig committed Jun 14, 2020
1 parent 4fa1d54 commit daace8a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/tools/filesystems/nixpart/0.4/multipath-tools.nix
Expand Up @@ -38,6 +38,11 @@ stdenv.mkDerivation rec {
substituteInPlace libmultipath/defaults.h --replace /lib/udev/scsi_id ${systemd.lib}/lib/udev/scsi_id
substituteInPlace libmultipath/hwtable.c --replace /lib/udev/scsi_id ${systemd.lib}/lib/udev/scsi_id
sed -i -re '
s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'",
' libmultipath/defaults.h
'';

meta = {
Expand Down

0 comments on commit daace8a

Please sign in to comment.