guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: tests: Fix typo in 'tests/store.scm'.


From: guix-commits
Subject: 05/06: tests: Fix typo in 'tests/store.scm'.
Date: Mon, 5 Jul 2021 10:58:30 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit 87d37a02f7642129a6d225fcd77df41cb314ab40
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jul 5 16:43:37 2021 +0200

    tests: Fix typo in 'tests/store.scm'.
    
    This typo had always been there since the test was introduced in commit
    ce72c780746776a86f59747f5eff8731cb4ff39b.  Presumably, it became visible
    with 9e5812ac59b01ff011ec0c5b0f437dfe85d6fcc7, where caching was no
    longer global and thus the 'store' argument of 'package-derivation' was
    actually being used.
    
    * tests/store.scm ("current-build-output-port, UTF-8"): Refer to
    '%store' rather than 's' in 'package-derivation' call.
---
 tests/store.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/store.scm b/tests/store.scm
index 3266fa7..d77c261 100644
--- a/tests/store.scm
+++ b/tests/store.scm
@@ -534,7 +534,8 @@
                  (d (build-expression->derivation
                      %store "foo" `(display ,s)
                      #:guile-for-build
-                     (package-derivation s %bootstrap-guile 
(%current-system)))))
+                     (package-derivation %store %bootstrap-guile
+                                         (%current-system)))))
             (guard (c ((store-protocol-error? c) #t))
               (build-derivations %store (list d))))))))
    "Here’s a Greek letter: λ."))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]