3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #26403 from vberger/drbd-fix

drbd: Fix incorrect substitution in derivation
This commit is contained in:
Joachim F 2017-06-05 19:02:20 +01:00 committed by GitHub
commit 938742fa0b

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
substituteInPlace user/legacy/Makefile.in \
--replace '$(DESTDIR)/lib/drbd' '$(DESTDIR)$(LIBDIR)'
substituteInPlace user/drbdadm_usage_cnt.c --replace /lib/drbd $out/lib/drbd
substituteInPlace scripts/drbd.rules --replace /sbin/drbdadm $out/sbin/drbdadm
substituteInPlace scripts/drbd.rules --replace /usr/sbin/drbdadm $out/sbin/drbdadm
'';
makeFlags = "SHELL=${stdenv.shell}";