ui: Remove 'show-derivation-outputs'.

* guix/ui.scm (show-derivation-outputs): Remove.
This commit is contained in:
Ludovic Courtès 2017-01-09 23:12:07 +01:00
parent 0c8491cbbe
commit ca9050d517
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -67,7 +67,6 @@ (define-module (guix ui)
make-regexp*
string->number*
size->number
show-derivation-outputs
show-what-to-build
show-what-to-build*
show-manifest-transaction
@ -548,14 +547,6 @@ (define (read/eval-package-expression str)
(leave (_ "expression ~s does not evaluate to a package~%")
str))))
(define (show-derivation-outputs derivation)
"Show the output file names of DERIVATION."
(format #t "~{~a~%~}"
(map (match-lambda
((out-name . out)
(derivation->output-path derivation out-name)))
(derivation-outputs derivation))))
(define* (show-what-to-build store drv
#:key dry-run? (use-substitutes? #t)
(mode (build-mode normal)))