guix build: '--log-file' no longer returns several log files.
Fixes a regression introduced in
9353b199c1
whereby something like:
guix build --log-file $(guix build -d guile)
would return two log files. This led to a failure of 'tests/guix-build.sh'.
* guix/scripts/build.scm (guix-build): Filter out derivation file names
from ITEMS.
This commit is contained in:
parent
0f2d9c3290
commit
92359aed40
|
@ -916,7 +916,8 @@ needed."
|
||||||
'())))
|
'())))
|
||||||
(items (filter-map (match-lambda
|
(items (filter-map (match-lambda
|
||||||
(('argument . (? store-path? file))
|
(('argument . (? store-path? file))
|
||||||
file)
|
(and (not (derivation-path? file))
|
||||||
|
file))
|
||||||
(_ #f))
|
(_ #f))
|
||||||
opts))
|
opts))
|
||||||
(roots (filter-map (match-lambda
|
(roots (filter-map (match-lambda
|
||||||
|
|
Loading…
Reference in New Issue