diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2020-10-05 16:07:54 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2020-10-05 16:07:54 +0200 |
commit | b6c55a723fab94bbf710c331fe62d839fb0bf6ad (patch) | |
tree | bd14d85ebe45b8656963e2f2147f725f7c0d452a | |
parent | 87c079d9b55afda249ddc1b11798a62547a2cbb6 (diff) | |
download | guix-patches-b6c55a723fab94bbf710c331fe62d839fb0bf6ad.tar guix-patches-b6c55a723fab94bbf710c331fe62d839fb0bf6ad.tar.gz |
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.
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index b863a9179e..729ca5b4ea 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -730,32 +730,18 @@ multiple inspectors with independent history.") (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") |