mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 19:57:39 -05:00
guix system: Call 'export-graph' with the right port argument.
* guix/scripts/system.scm (export-extension-graph) (export-shepherd-graph): Honor PORT.
This commit is contained in:
parent
25261cbf96
commit
322707bc7f
1 changed files with 2 additions and 2 deletions
|
@ -897,7 +897,7 @@ (define* (export-extension-graph os port
|
||||||
(system (find (lambda (service)
|
(system (find (lambda (service)
|
||||||
(eq? (service-kind service) system-service-type))
|
(eq? (service-kind service) system-service-type))
|
||||||
services)))
|
services)))
|
||||||
(export-graph (list system) (current-output-port)
|
(export-graph (list system) port
|
||||||
#:backend backend
|
#:backend backend
|
||||||
#:node-type (service-node-type services)
|
#:node-type (service-node-type services)
|
||||||
#:reverse-edges? #t)))
|
#:reverse-edges? #t)))
|
||||||
|
@ -913,7 +913,7 @@ (define* (export-shepherd-graph os port
|
||||||
(sinks (filter (lambda (service)
|
(sinks (filter (lambda (service)
|
||||||
(null? (shepherd-service-requirement service)))
|
(null? (shepherd-service-requirement service)))
|
||||||
shepherds)))
|
shepherds)))
|
||||||
(export-graph sinks (current-output-port)
|
(export-graph sinks port
|
||||||
#:backend backend
|
#:backend backend
|
||||||
#:node-type (shepherd-service-node-type shepherds)
|
#:node-type (shepherd-service-node-type shepherds)
|
||||||
#:reverse-edges? #t)))
|
#:reverse-edges? #t)))
|
||||||
|
|
Loading…
Reference in a new issue