guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: tla2tools: Remove reference to %output.


From: guix-commits
Subject: 04/04: gnu: tla2tools: Remove reference to %output.
Date: Sat, 4 Dec 2021 19:12:36 -0500 (EST)

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

commit 7e6ee16d498f48b7bb74fefe5d3d67c62b5baa9d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 5 01:11:38 2021 +0100

    gnu: tla2tools: Remove reference to %output.
    
    * gnu/packages/java.scm (tla2tools)[arguments]: Bind OUTPUTS in build phase
    'install to remove reference to %output.
---
 gnu/packages/java.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 21d97d7..740cec2 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -14224,8 +14224,8 @@ can be interpreted by IDEs and static analysis tools to 
improve code analysis.")
                                                       "/test-model/pcal")
                                        "\\.cfg$"))))
              (replace 'install
-               (lambda* (#:key inputs #:allow-other-keys)
-                 (let* ((share (string-append %output "/share/java"))
+               (lambda* (#:key inputs outputs #:allow-other-keys)
+                 (let* ((share (string-append (assoc-ref outputs "out") 
"/share/java"))
                         (jar-name "tla2tools.jar"); set in project.properties
                         (jar (string-append ,tlatools
                                             "/dist/" jar-name))



reply via email to

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