aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorPjotr Prins2016-01-13 15:50:08 +0300
committerPjotr Prins2016-01-13 15:50:08 +0300
commitbdf62f0010b6d1178fe63285329eade61b510a02 (patch)
treef74123377c349d1991000701e9759d1bb5ade710 /gn
parent00520c3d6240a49c918d7e6d7daa48be6bc19d90 (diff)
downloadguix-bioinformatics-bdf62f0010b6d1178fe63285329eade61b510a02.tar.gz
Slurm: enable pam and cleanup
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/slurm.scm20
1 files changed, 18 insertions, 2 deletions
diff --git a/gn/packages/slurm.scm b/gn/packages/slurm.scm
index a27e0d1..f2bbb8f 100644
--- a/gn/packages/slurm.scm
+++ b/gn/packages/slurm.scm
@@ -22,6 +22,8 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (gnu packages tcl)
+ #:use-module (gnu packages linux)
#:use-module (gnu packages textutils)
#:use-module (gnu packages base)
#:use-module (gnu packages gnupg)
@@ -50,11 +52,13 @@
("openssl" ,openssl)
("munge" ,munge)
("perl" ,perl)
+ ("expect" ,expect)
("python" ,python)
+ ("linux-pam" , linux-pam)
))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; no test target
+ `(#:configure-flags '("--enable-pam")
#:phases
(modify-phases %standard-phases
(add-before
@@ -63,7 +67,19 @@
(substitute* "./doc/html/shtml2html.py"
(("#!/usr/bin/env python")
(string-append "#!" (which "python3"))))
- )))))
+ (substitute* "src/common/env.c"
+ (("/usr/bin/env") (which "env")))
+ ;; (substitute* "configure"
+ ;; (("/usr/bin/uname") (which "uname")))
+ ;; (substitute* "configure"
+ ;; (("/usr/bin/hostname") (which "hostname")))
+ ;; (substitute* "./testsuite/expect/test4.1"
+ ;; (("#!/usr/bin/env expect")
+ ;; (string-append "#!" (which "expect"))))
+ ; --enable-pam
+
+ ))
+ )))
(home-page "http://www.schedmd.com/")
(synopsis "Simple Linux Utility for Resource Management")