unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: Josua Stingelin <josuast@hotmail.com>
Cc: help-guix@gnu.org
Subject: Re: clang-12 doesn't contain clang-extra-tools
Date: Tue, 10 Aug 2021 20:50:57 +1000	[thread overview]
Message-ID: <87k0ktd14e.fsf@zancanaro.id.au> (raw)
In-Reply-To: <DB9PR06MB7657F871FDB7F4B6EE4D77ABAAF79@DB9PR06MB7657.eurprd06.prod.outlook.com>

Hi Josua!

On Tue, Aug 10 2021, Josua Stingelin wrote:>
> As far as I understand, if tools-extra is defined these get 
> installed when installing the 'out'-output of the package.

This is where you're running into problems. The clangd binary is 
actually installed into the "extra" output of the package. That's 
what the move procedure is doing in the snippet you quoted.

> So basically all this compiles down to: Invoking `guix package 
> --install=clang` should install `clang` as well as `clangd` 
> (among other things). -- Right?

Since clangd is in the "extra" output, you should be able to 
install it using `guix install clang:extra`. I tried it out with 
`guix environment --ad-hoc clang@12:extra` and clangd was included 
in my PATH.

  $ guix environment --ad-hoc clang@12:extra -- which clangd
  /gnu/store/y1mnviajs1qniw0v497z66r5jr1zla9s-profile/bin/clangd

I hope that helps!

Carlo


  reply	other threads:[~2021-08-10 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10 10:00 clang-12 doesn't contain clang-extra-tools Josua Stingelin
2021-08-10 10:50 ` Carlo Zancanaro [this message]
2021-08-10 11:59   ` Josua Stingelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0ktd14e.fsf@zancanaro.id.au \
    --to=carlo@zancanaro.id.au \
    --cc=help-guix@gnu.org \
    --cc=josuast@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).