mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
offload: Include the port number in the machine lock file name.
This is useful when a single machine appears several time, with different port numbers. * guix/scripts/offload.scm (machine-slot-file): Add MACHINE's port to the file name.
This commit is contained in:
parent
44941fd7db
commit
a3af06ad65
1 changed files with 2 additions and 1 deletions
|
@ -243,7 +243,8 @@ (define (machine-slot-file machine slot)
|
|||
;; of these; if we fail, that means all the build slots are already taken.
|
||||
;; Inspired by Nix's build-remote.pl.
|
||||
(string-append (string-append %state-directory "/offload/"
|
||||
(build-machine-name machine)
|
||||
(build-machine-name machine) ":"
|
||||
(number->string (build-machine-port machine))
|
||||
"/" (number->string slot))))
|
||||
|
||||
(define (acquire-build-slot machine)
|
||||
|
|
Loading…
Reference in a new issue