help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`guix install protobuf:static` headers?


From: zimoun
Subject: `guix install protobuf:static` headers?
Date: Thu, 31 Oct 2019 16:52:13 +0100

Dear,

When I run `guix install protobuf:static -p path/to/profile` then I
expect that the headers are in "path/to/profile" but they are not.
However, they appear without the ":static" flag.

I am confused.

Moreover, the static libraries are even copied without the flag ":static".

--8<---------------cut here---------------start------------->8---
         (add-after 'install 'move-static-libraries
           (lambda* (#:key outputs #:allow-other-keys)
             ;; Move static libraries to the "static" output.
             (let* ((out    (assoc-ref outputs "out"))
                    (lib    (string-append out "/lib"))
                    (static (assoc-ref outputs "static"))
                    (slib   (string-append static "/lib")))
               (mkdir-p slib)
               (for-each (lambda (file)
                           (install-file file slib)
                           (delete-file file))
                         (find-files lib "\\.a$"))
--8<---------------cut here---------------end--------------->8---


What should be the correct behaviour of "out" vs "static"?


All the best,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]