diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2019-04-16 17:27:18 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-16 17:30:22 +0200 |
commit | e31ece97517312e9b054767c18c6f38d8d5d8618 (patch) | |
tree | 6a98ca96c3c5f6379dee911b549cdfb1fecb3ba2 /gnu/packages/parallel.scm | |
parent | 698e91f0d09a7efb96ab0b7095d8c32868b4cdde (diff) | |
download | patches-e31ece97517312e9b054767c18c6f38d8d5d8618.tar patches-e31ece97517312e9b054767c18c6f38d8d5d8618.tar.gz |
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.
Diffstat (limited to 'gnu/packages/parallel.scm')
-rw-r--r-- | gnu/packages/parallel.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 167d03b954..ceedae2e61 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -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")) |