gnu: ecl-slynk: Fix package definition.

* gnu/packages/lisp-xyz.scm (ecl-slynk)[arguments]: Don't use 'union-build',
  just remove the 'build-image' phase.
This commit is contained in:
Guillaume Le Vaillant 2020-10-05 16:07:54 +02:00
parent 87c079d9b5
commit b6c55a723f
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -730,32 +730,18 @@ (define-public sbcl-slynk
(properties `((cl-source-variant . ,(delay cl-slynk)))))))
(define-public cl-slynk
(package
(inherit (sbcl-package->cl-source-package sbcl-slynk))
(name "cl-slynk")))
(sbcl-package->cl-source-package sbcl-slynk))
(define-public ecl-slynk
(package
(inherit sbcl-slynk)
(name "ecl-slynk")
(inputs
(map (match-lambda
((name pkg . _)
(list name (sbcl-package->ecl-package pkg))))
(package-inputs sbcl-slynk)))
(native-inputs '())
(outputs '("out"))
(arguments
'(#:modules ((guix build union))
#:builder
(begin
(use-modules (ice-9 match)
(guix build union))
(match %build-inputs
(((names . paths) ...)
(union-build (assoc-ref %outputs "out")
paths)
#t)))))))
(let ((pkg (sbcl-package->ecl-package sbcl-slynk)))
(package
(inherit pkg)
(outputs '("out"))
(arguments
(substitute-keyword-arguments (package-arguments pkg)
((#:phases phases)
`(modify-phases ,phases
(delete 'build-image))))))))
(define-public sbcl-parse-js
(let ((commit "fbadc6029bec7039602abfc06c73bb52970998f6")