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 @@ in plain text file format.")
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((tests (assoc-ref inputs "tests")))
|
(let ((tests (assoc-ref inputs "tests")))
|
||||||
(copy-recursively tests "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
|
(native-inputs
|
||||||
`(("tests"
|
`(("tests"
|
||||||
,(origin
|
,(origin
|
||||||
|
|
Reference in a new issue