summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@fysik.su.se>2018-09-11 17:32:53 +0200
committerMarkus Kowalewski <markus.kowalewski@fysik.su.se>2018-09-11 17:32:53 +0200
commit525f4250739361892a30edb5aed6a8499d624d6e (patch)
tree6054972425ccc0583cf5c7f1d8752583a4504518
parent14f57b1e64d4a91d4acf147bec1c4b94606408a9 (diff)
downloadnixlib-525f4250739361892a30edb5aed6a8499d624d6e.tar
nixlib-525f4250739361892a30edb5aed6a8499d624d6e.tar.gz
nixlib-525f4250739361892a30edb5aed6a8499d624d6e.tar.bz2
nixlib-525f4250739361892a30edb5aed6a8499d624d6e.tar.lz
nixlib-525f4250739361892a30edb5aed6a8499d624d6e.tar.xz
nixlib-525f4250739361892a30edb5aed6a8499d624d6e.tar.zst
nixlib-525f4250739361892a30edb5aed6a8499d624d6e.zip
pdsh: set default module to ssh, remove obsolete fixes
-rw-r--r--pkgs/tools/networking/pdsh/default.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/tools/networking/pdsh/default.nix b/pkgs/tools/networking/pdsh/default.nix
index 9239b9e118dc..812d335e8087 100644
--- a/pkgs/tools/networking/pdsh/default.nix
+++ b/pkgs/tools/networking/pdsh/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, perl, readline, rsh, ssh, pam }:
+{ stdenv, fetchurl, perl, readline, rsh, ssh }:
 
 stdenv.mkDerivation rec {
   name = "pdsh-2.33";
@@ -8,12 +8,7 @@ stdenv.mkDerivation rec {
     sha256 = "0bwlkl9inj66iwvafg00pi3sk9n673phdi0kcc59y9nn55s0hs3k";
   };
 
-  buildInputs = [perl readline ssh pam];
-
-  /* pdsh uses pthread_cancel(), which requires libgcc_s.so.1 to be
-     loadable at run-time. Adding the flag below ensures that the
-     library can be found. Obviously, though, this is a hack. */
-  NIX_LDFLAGS="-lgcc_s";
+  buildInputs = [ perl readline ssh ];
 
   preConfigure = ''
     configureFlagsArray=(
@@ -22,11 +17,11 @@ stdenv.mkDerivation rec {
       "--with-machines=/etc/pdsh/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"
       "--disable-debug"
+      '--with-rcmd-rank-list=ssh,krb4,exec,xcpu,rsh'
     )
   '';