mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
tests: Actually run 'tests/guix-environment-container.sh'.
This test was skipped since the switch to Guile 3 because 'assert-container-features' would be inlined and thus accessing it with @@ would fail with an unbound-variable error. * guix/scripts/environment.scm (assert-container-features): Export. * tests/guix-environment-container.sh: Use single '@'.
This commit is contained in:
parent
cdea526556
commit
90f496be9a
2 changed files with 3 additions and 2 deletions
|
@ -48,7 +48,8 @@ (define-module (guix scripts environment)
|
|||
#:use-module (srfi srfi-26)
|
||||
#:use-module (srfi srfi-37)
|
||||
#:use-module (srfi srfi-98)
|
||||
#:export (guix-environment))
|
||||
#:export (assert-container-features
|
||||
guix-environment))
|
||||
|
||||
;; Protect some env vars from purification. Borrowed from nix-shell.
|
||||
(define %precious-variables
|
||||
|
|
|
@ -24,7 +24,7 @@ set -e
|
|||
|
||||
guix environment --version
|
||||
|
||||
if ! guile -c '((@@ (guix scripts environment) assert-container-features))'
|
||||
if ! guile -c '((@ (guix scripts environment) assert-container-features))'
|
||||
then
|
||||
# User containers are not supported; skip this test.
|
||||
exit 77
|
||||
|
|
Loading…
Reference in a new issue