diff options
author | Peter Simons <simons@cryp.to> | 2010-11-05 14:35:30 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-11-05 14:35:30 +0000 |
commit | d5abf27257a61b1345792831309b28039b2ad533 (patch) | |
tree | 13069e248d3f902300befedbbcedaeb11ffdbd8e /pkgs/tools/networking/pdsh | |
parent | a33ddc804701a3ed78df40b9d594ec29bd8fe768 (diff) | |
download | nixlib-d5abf27257a61b1345792831309b28039b2ad533.tar nixlib-d5abf27257a61b1345792831309b28039b2ad533.tar.gz nixlib-d5abf27257a61b1345792831309b28039b2ad533.tar.bz2 nixlib-d5abf27257a61b1345792831309b28039b2ad533.tar.lz nixlib-d5abf27257a61b1345792831309b28039b2ad533.tar.xz nixlib-d5abf27257a61b1345792831309b28039b2ad533.tar.zst nixlib-d5abf27257a61b1345792831309b28039b2ad533.zip |
pkgs/tools/networking/pdsh: fixed location of "info" and "man" directories
svn path=/nixpkgs/trunk/; revision=24604
Diffstat (limited to 'pkgs/tools/networking/pdsh')
-rw-r--r-- | pkgs/tools/networking/pdsh/default.nix | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/pkgs/tools/networking/pdsh/default.nix b/pkgs/tools/networking/pdsh/default.nix index c48ec9265c93..9ab03a5ebc50 100644 --- a/pkgs/tools/networking/pdsh/default.nix +++ b/pkgs/tools/networking/pdsh/default.nix @@ -14,27 +14,28 @@ stdenv.mkDerivation rec { library can be found. Obviously, though, this is a hack. */ NIX_LDFLAGS="-lgcc_s"; - # Setting --with-machines=$out in configureFlags doesn't seem to work, - # so I specify configurePhase instead. - configurePhase = "./configure --prefix=$out --with-machines=$out/etc/machines" - + " " + (if readline == null then "--without-readline" else "--with-readline") - + " " + (if ssh == null then "--without-ssh" else "--with-ssh") - + " " + (if pam == null then "--without-pam" else "--with-pam") - + " " + (if rsh == false then "--without-rsh" else "--with-rsh") - + " --with-dshgroups" - + " --with-xcpu" - + " --without-genders" - + " --without-mqshell" - + " --without-mrsh" - + " --without-netgroup" - + " --without-nodeattr" - + " --without-nodeupdown" - + " --without-qshell" - + " --without-slurm" - + " --enable-fast-install" - + " --disable-dependency-tracking" - + " --disable-debug" - ; + preConfigure = '' + configureFlagsArray=( + "--infodir=$out/share/info" + "--mandir=$out/share/man" + "--with-machines=$out/etc/machines" + ${if readline == null then "--without-readline" else "--with-readline"} + ${if ssh == null then "--without-ssh" else "--with-ssh"} + ${if pam == null then "--without-pam" else "--with-pam"} + ${if rsh == false then "--without-rsh" else "--with-rsh"} + "--with-dshgroups" + "--with-xcpu" + "--without-genders" + "--without-mqshell" + "--without-mrsh" + "--without-netgroup" + "--without-nodeattr" + "--without-nodeupdown" + "--without-qshell" + "--without-slurm" + "--disable-debug" + ) + ''; meta = { homepage = "https://computing.llnl.gov/linux/pdsh.html"; |