From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: `guix install protobuf:static` headers? Date: Thu, 31 Oct 2019 16:52:13 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60803) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQCkM-0006Y2-DT for help-guix@gnu.org; Thu, 31 Oct 2019 11:52:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQCkL-0000Ba-AQ for help-guix@gnu.org; Thu, 31 Oct 2019 11:52:26 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:39870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQCkL-0000AX-4F for help-guix@gnu.org; Thu, 31 Oct 2019 11:52:25 -0400 Received: by mail-qt1-x829.google.com with SMTP id t8so9191524qtc.6 for ; Thu, 31 Oct 2019 08:52:25 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix 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