diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-11-02 17:13:38 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-11-02 17:13:38 +0000 |
commit | 2d2ee447fb14b4f42dc6c5d3e3a9f29785967c28 (patch) | |
tree | a4110d482aaf1e7f0315ac202246d76a8fb3a405 /pkgs/os-specific/linux/drbd/default.nix | |
parent | efe6fddd599d23d8bacdad057af2c042b211ae64 (diff) |
* Build the legacy tools.
svn path=/nixpkgs/trunk/; revision=30194
Diffstat (limited to 'pkgs/os-specific/linux/drbd/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/drbd/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/drbd/default.nix b/pkgs/os-specific/linux/drbd/default.nix index a3c8c5606d660..40821a6e489a2 100644 --- a/pkgs/os-specific/linux/drbd/default.nix +++ b/pkgs/os-specific/linux/drbd/default.nix @@ -12,12 +12,16 @@ stdenv.mkDerivation rec { buildInputs = [ flex ]; - configureFlags = "--without-distro --without-legacy_utils --without-pacemaker --localstatedir=/var --sysconfdir=/etc"; + configureFlags = "--without-distro --without-pacemaker --localstatedir=/var --sysconfdir=/etc"; preConfigure = '' export PATH=${udev}/sbin:$PATH substituteInPlace user/Makefile.in --replace /sbin/ $out/sbin/ + substituteInPlace user/legacy/Makefile.in \ + --replace /sbin/ $out/sbin/ \ + --replace '$(DESTDIR)/lib/drbd' $out/lib/drbd + substituteInPlace user/drbdadm_usage_cnt.c --replace /lib/drbd $out/lib/drbd substituteInPlace scripts/drbd.rules --replace /sbin/drbdadm $out/sbin/drbdadm ''; |