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:
Ludovic Courtès 2019-04-16 17:27:18 +02:00 committed by Ludovic Courtès
parent 698e91f0d0
commit e31ece9751
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ and they are executed on lists of files, hosts, users or other items.")
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list "--enable-pam"
(list "--enable-pam" "--sysconfdir=/etc/slurm"
(string-append "--with-freeipmi=" (assoc-ref %build-inputs "freeipmi"))
(string-append "--with-hwloc=" (assoc-ref %build-inputs "hwloc"))
(string-append "--with-json=" (assoc-ref %build-inputs "json-c"))