me
/
guix
Archived
1
0
Fork 0

gnu: sbcl-osicat: Fix build.

* gnu/packages/lisp-xyz.scm (sbcl-osicat)[arguments]: Remove custom 'cleanup'
  phase.
master
Guillaume Le Vaillant 2020-09-12 09:55:39 +02:00
parent 466bf553d7
commit e44dd9a4e1
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 0 additions and 16 deletions

View File

@ -9035,22 +9035,6 @@ MOP easier to use.")
(sha256
(base32 "15viw5pi5sa7qq9b4n2rr3dj2jkqr180rh9z1lh8w3rgl42i2adc"))))
(build-system asdf-build-system/sbcl)
(arguments
`(#:phases
(modify-phases %standard-phases
;; The cleanup phase moves files around but we need to keep the
;; directory structure for the grovel-generated library.
(replace 'cleanup
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(lib (string-append out "/lib/sbcl/")))
(delete-file-recursively (string-append lib "src"))
(delete-file-recursively (string-append lib "tests"))
(for-each delete-file
(filter (lambda (file)
(not (member (basename file) '("libosicat.so"))))
(find-files (string-append lib "posix") ".*"))))
#t)))))
(inputs
`(("alexandria" ,sbcl-alexandria)
("cffi" ,sbcl-cffi)