gnu: slurm: Configure with a "standard" syslogdir.
Until now, we were using syslogdir=$prefix/etc, which did not exist. Thus, commands would always fail like this: $ guix environment --ad-hoc slurm --pure -- squeue -u $USER squeue: error: s_p_parse_file: unable to status file /gnu/store/…-slurm-17.11.3/etc/slurm.conf: No such file or directory, retrying in 1sec up to 60sec * gnu/packages/parallel.scm (slurm)[arguments]: Pass --sysconfdir.
This commit is contained in:
parent
698e91f0d0
commit
e31ece9751
|
@ -136,7 +136,7 @@ and they are executed on lists of files, hosts, users or other items.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "--enable-pam"
|
(list "--enable-pam" "--sysconfdir=/etc/slurm"
|
||||||
(string-append "--with-freeipmi=" (assoc-ref %build-inputs "freeipmi"))
|
(string-append "--with-freeipmi=" (assoc-ref %build-inputs "freeipmi"))
|
||||||
(string-append "--with-hwloc=" (assoc-ref %build-inputs "hwloc"))
|
(string-append "--with-hwloc=" (assoc-ref %build-inputs "hwloc"))
|
||||||
(string-append "--with-json=" (assoc-ref %build-inputs "json-c"))
|
(string-append "--with-json=" (assoc-ref %build-inputs "json-c"))
|
||||||
|
|
Loading…
Reference in New Issue