mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: sbcl-triads: Add bin output.
* gnu/packages/lisp-xyz.scm (sbcl-triads)[arguments]: Add 'build-binary' phase to build and install the binary executable. (ecl-triads): Remove the build-binary phase because this program has not been tested on ECL upstream. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
debfbdefda
commit
89a8534b42
1 changed files with 27 additions and 2 deletions
|
@ -26264,8 +26264,25 @@ (define-public sbcl-triads
|
|||
(sha256
|
||||
(base32 "146mwshynhdw82m2nxrcjvf1nk0z3fn6ywcd2vqxkly5qricc53w"))))
|
||||
(build-system asdf-build-system/sbcl)
|
||||
(outputs '("out" "bin"))
|
||||
(arguments
|
||||
'(#:asd-systems '("charje.triads")))
|
||||
'(#:asd-systems '("charje.triads")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'create-asdf-configuration 'build-binary
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(setenv "HOME" (getcwd))
|
||||
(invoke
|
||||
"sbcl" "--eval" "(require :asdf)" "--eval"
|
||||
(format
|
||||
#f "~S"
|
||||
`(progn
|
||||
(require "charje.triads"
|
||||
,(string-append (getcwd) "/charje.triads.asd"))
|
||||
(asdf:make "charje.triads"))))
|
||||
(install-file
|
||||
(string-append (getcwd) "/triads")
|
||||
(string-append (assoc-ref outputs "bin") "/bin")))))))
|
||||
(inputs
|
||||
(list sbcl-cl-str
|
||||
sbcl-serapeum
|
||||
|
@ -26282,7 +26299,15 @@ (define-public cl-triads
|
|||
(sbcl-package->cl-source-package sbcl-triads))
|
||||
|
||||
(define-public ecl-triads
|
||||
(sbcl-package->ecl-package sbcl-triads))
|
||||
(let ((ecl-package (sbcl-package->ecl-package sbcl-triads)))
|
||||
(package
|
||||
(inherit ecl-package)
|
||||
(outputs '("out"))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments ecl-package)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(delete 'build-binary))))))))
|
||||
|
||||
(define-public sbcl-closure-template
|
||||
;; There are no releases since 2015.
|
||||
|
|
Loading…
Reference in a new issue