channels: Address test failure.
Fixes <https://bugs.gnu.org/43940>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
The "channel-instances->manifest" test would fail since
1d4ab335b2
: 'quiet-guile' would be passed #f
as GUILE, and thus 'package-version' would fail with wrong-type-arg.
* guix/channels.scm (whole-package-for-legacy): Pass #:guile to
'whole-package'.
* tests/channels.scm ("channel-instances->manifest"): Remove 'test-expect-fail'.
This commit is contained in:
parent
8608d40b2a
commit
6c46e477eb
@ -783,7 +783,8 @@ modules in the old ~/.config/guix/latest style."
|
||||
;; derivation that builds modules. We have to infer what the
|
||||
;; dependencies of these modules were.
|
||||
(list guile-json-3 guile-git guile-bytestructures
|
||||
(ssh -> guile-ssh) (tls -> gnutls)))))
|
||||
(ssh -> guile-ssh) (tls -> gnutls))
|
||||
#:guile (default-guile))))
|
||||
|
||||
(define (old-style-guix? drv)
|
||||
"Return true if DRV corresponds to a ~/.config/guix/latest style of
|
||||
|
@ -230,7 +230,6 @@
|
||||
#:current-channels (list new)
|
||||
#:validate-pull validate-pull)))))))
|
||||
|
||||
(test-expect-fail 1) ;see: https://issues.guix.gnu.org/43940
|
||||
(test-assert "channel-instances->manifest"
|
||||
;; Compute the manifest for a graph of instances and make sure we get a
|
||||
;; derivation graph that mirrors the instance graph. This test also ensures
|
||||
|
Loading…
Reference in New Issue
Block a user