gnu: txr: Update to 238.

* gnu/packages/lisp.scm (txr): Update to 238.
  [arguments]: Don't hardcode "cc=gcc" in configure-flags.
This commit is contained in:
Guillaume Le Vaillant 2020-05-26 14:45:39 +02:00
parent 51bd1f5b07
commit e91c29a491
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -806,7 +806,7 @@ (define-public confusion-mdl
(define-public txr
(package
(name "txr")
(version "235")
(version "238")
(source
(origin
(method git-fetch)
@ -815,12 +815,15 @@ (define-public txr
(commit (string-append "txr-" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0kpqk2x0sz7sqxsrhasq0xnljjlnxwhh4xjx2nii0zy2jkv4vsbn"))))
(base32 "0asdq4n828xb1m31s7f47mqcbjqkzxz11bwnw8v3f2249m93ync4"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags
(list "cc=gcc"
(string-append "--prefix=" (assoc-ref %outputs "out")))
`(#:configure-flags
(let ((target ,(%current-target-system)))
(list (string-append "cc=" (if target
(string-append target "-gcc")
"gcc"))
(string-append "--prefix=" (assoc-ref %outputs "out"))))
#:test-target "tests"
#:phases
(modify-phases %standard-phases