aboutsummaryrefslogtreecommitdiff
path: root/slurm.scm
diff options
context:
space:
mode:
authorArun Isaac2024-10-18 03:17:05 +0100
committerArun Isaac2024-10-18 03:18:09 +0100
commita7be70df830cf5eda1230e0666bc570b80be829d (patch)
tree298e6c6322a515abb8364a4d0ddeb04ef915db0c /slurm.scm
parenta822a6899bfbcd3620fe15134a922b8af7aede46 (diff)
downloadgn-machines-a7be70df830cf5eda1230e0666bc570b80be829d.tar.gz
Upgrade slurm to 24.05.3.
* slurm.scm (slurm): Upgrade to 24.05.3. [arguments]: Remove Unix socket disabling.
Diffstat (limited to 'slurm.scm')
-rw-r--r--slurm.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/slurm.scm b/slurm.scm
index 83f4032..4f5ece0 100644
--- a/slurm.scm
+++ b/slurm.scm
@@ -45,6 +45,17 @@
(define slurm
(package
(inherit guix:slurm)
+ (name "slurm")
+ (version "24.05.3")
+ (source (origin
+ (inherit (package-source guix:slurm))
+ (method url-fetch)
+ (uri (string-append
+ "https://download.schedmd.com/slurm/slurm-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "095fck6016kslggd1d9mnwahr66b1fahpmlmvdyqdbmnx49hbd5h"))))
(arguments
(substitute-keyword-arguments (package-arguments guix:slurm)
((#:configure-flags flags #~'())
@@ -73,9 +84,7 @@
(substitute* (string-append #$output "/etc/slurmrestd.service")
;; Set user and group to run slurmrestd as.
(("# User=") "User=slurmrestd")
- (("# Group=") "Group=slurmrestd")
- ;; Disable listening on Unix socket by default.
- ((" unix:[^ ]*") ""))))))))
+ (("# Group=") "Group=slurmrestd"))))))))
(inputs
(modify-inputs (package-inputs guix:slurm)
(prepend dbus http-parser json-c libjwt