me
/
guix
Archived
1
0
Fork 0

gnu: sbcl-trivial-backtrace: Fix build reproducibility.

* gnu/packages/lisp.scm (sbcl-trivial-backtrace)[arguments]: Add
  'delete-test-results' phase.
master
Guillaume Le Vaillant 2020-01-12 11:40:22 +01:00
parent 6b8f7c397a
commit 8dc2af3ba5
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 13 additions and 0 deletions

View File

@ -3376,6 +3376,19 @@ client and server.")
(build-system asdf-build-system/sbcl)
(inputs
`(("sbcl-lift" ,sbcl-lift)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'check 'delete-test-results
(lambda* (#:key outputs #:allow-other-keys)
(let ((test-results (string-append (assoc-ref outputs "out")
"/share/common-lisp/"
(%lisp-type) "-source"
"/trivial-backtrace"
"/test-results")))
(when (file-exists? test-results)
(delete-file-recursively test-results)))
#t)))))
(home-page "https://common-lisp.net/project/trivial-backtrace/")
(synopsis "Portable simple API to work with backtraces in Common Lisp")
(description