summary refs log tree commit diff
path: root/gnu/packages/package-management.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-03-01 22:56:45 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-03-01 23:21:18 +0100
commitefb98dd09d4294a49c1a25042ef0267c2e6ab0e4 (patch)
treecef6bdbc72567d53173f5db51b2dfedd21a77a56 /gnu/packages/package-management.scm
parent42c7f6e7487a93251e549932d72fc57efa196a5e (diff)
downloadguix-efb98dd09d4294a49c1a25042ef0267c2e6ab0e4.tar.gz
gnu: gwl: Update to 0.2.1.
* gnu/packages/package-management.scm (gwl): Update to 0.2.1.
[arguments]: Add phase "fix-tests".
Diffstat (limited to 'gnu/packages/package-management.scm')
-rw-r--r--gnu/packages/package-management.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 221cbd509f..fd0d350e45 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -788,14 +788,24 @@ written entirely in Python.")))
 (define-public gwl
   (package
     (name "gwl")
-    (version "0.2.0")
+    (version "0.2.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/gwl/gwl-" version ".tar.gz"))
               (sha256
                (base32
-                "0db1nvy6qzhj9kv834vrlxw7gqv3lih1n4hv5zac1zjmb61ll915"))))
+                "1ji5jvzni8aml9fmimlr11g3k8isrnlvnbzhmwgdjh72hils0alc"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'fix-tests
+           (lambda _
+             ;; Avoid cross-device link.
+             (substitute* "tests/cache.scm"
+               (("/tmp/gwl-test-input-XXXXXX")
+                (string-append (getcwd) "/gwl-test-input-XXXXXX")))
+             #t)))))
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)