gnu: tla2tools: Remove reference to %output.

* gnu/packages/java.scm (tla2tools)[arguments]: Bind OUTPUTS in build phase
'install to remove reference to %output.
This commit is contained in:
Ricardo Wurmus 2021-12-05 01:11:38 +01:00
parent ad1dc0cad3
commit 7e6ee16d49
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -14224,8 +14224,8 @@ (define (input-jar input)
"/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))