mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 10:30:43 +02: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 @@ instead of '~a' of type '~a'~%")
|
|||
;; 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…
Add table
Add a link
Reference in a new issue