gnu: txr: Update to 268.

* gnu/packages/lisp.scm (txr): Update to 268.
  [arguments]: Update 'fix-tests' phase.
This commit is contained in:
Guillaume Le Vaillant 2021-08-08 11:04:15 +02:00
parent b138d8b19a
commit b0568808ad
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -907,7 +907,7 @@ (define man-for-txr
(define-public txr (define-public txr
(package (package
(name "txr") (name "txr")
(version "266") (version "268")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -916,7 +916,7 @@ (define-public txr
(commit (string-append "txr-" version)))) (commit (string-append "txr-" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1k9mj3zaxdsylgnb8g6cq0cmp6420x7fp3nnsqdmds4gh8ib95wn")))) (base32 "0q97qddbgk9356gx4xp8iip4pwj3ln03dvjfgrny76f3wmmiwsw6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
;; Required to build the documentation. ;; Required to build the documentation.
@ -961,10 +961,7 @@ (define-public txr
(lambda _ (lambda _
(substitute* (list "tests/017/realpath.tl" (substitute* (list "tests/017/realpath.tl"
"tests/017/realpath.expected") "tests/017/realpath.expected")
(("/usr/bin") "/")) (("/usr/bin") "/"))))
(substitute* "tests/018/path-test.tl"
(("/bin") (dirname (which "sh"))))
#t))
(replace 'configure (replace 'configure
;; ./configure is a hand-written script that can't handle standard ;; ./configure is a hand-written script that can't handle standard
;; autotools arguments like CONFIG_SHELL. ;; autotools arguments like CONFIG_SHELL.