gnu: vlang: Correctly refer to output directories.

* gnu/packages/vlang.scm (vlang)[arguments]: In custom 'install phase
correctly refer to 'outputs'.
This commit is contained in:
Efraim Flashner 2020-10-06 09:45:13 +03:00
parent 6450070b91
commit 527b27f14c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -85,8 +85,8 @@ (define-public vlang
(invoke "./v" "test-fixed")))
#t))
(replace 'install
(lambda _
(let* ((bin (string-append (assoc-ref %outputs "out") "/bin"))
(lambda* (#:key outputs #:allow-other-keys)
(let* ((bin (string-append (assoc-ref outputs "out") "/bin"))
(tools (string-append bin "/cmd/tools"))
(thirdparty (string-append bin "/thirdparty"))
(vlib (string-append bin "/vlib"))