mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 08:51:48 -05:00
gnu: editorconfig-core-c: Delete static library.
* gnu/packages/text-editors.scm (editorconfig-core-c)[arguments]: Add a ‘delete-static-library’ phase.
This commit is contained in:
parent
7395ea0de4
commit
1c4b3512db
1 changed files with 8 additions and 1 deletions
|
@ -727,7 +727,14 @@ (define-public editorconfig-core-c
|
|||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((tests (assoc-ref inputs "tests")))
|
||||
(copy-recursively tests "tests"))
|
||||
#t)))))
|
||||
#t))
|
||||
(add-after 'install 'delete-static-library
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(lib (string-append out "/lib")))
|
||||
(with-directory-excursion lib
|
||||
(delete-file "libeditorconfig_static.a"))
|
||||
#t))))))
|
||||
(native-inputs
|
||||
`(("tests"
|
||||
,(origin
|
||||
|
|
Loading…
Reference in a new issue