unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Jim Newsome <jim@sporksmith.net>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: help-guix@gnu.org
Subject: Re: Reference a store path of an input?
Date: Sat, 18 Dec 2021 09:21:57 -0600	[thread overview]
Message-ID: <a775d982-d85c-ee62-d2f9-bdc44792ebcc@sporksmith.net> (raw)
In-Reply-To: <871r2b62tl.fsf@nicolasgoaziou.fr>



On 12/17/21 2:41 AM, Nicolas Goaziou wrote:
> You may want to read about G-Expressions in Guix manual.

Yup, I see a lot of the details I was having trouble finding are in 8.8 
Derivations and 8.10 G-Expressions.

> See also
> <https://guix.gnu.org/fr/blog/2021/the-big-change/> for addition
> insight.

Hah, well of course I'd be trying to learn in the middle of a big 
change. I was getting confused seeing a mix of docs and examples doing 
things the old way and the new way; this clarifies a lot.

> I should be:
> 
> (arguments
>   (list
>    #:configure-flags
>    #~(list (string-append "-DCMAKE_EXTRA_INCLUDES=" #$glib "/include"))))

Yup, this works.

Thanks!


      reply	other threads:[~2021-12-18 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17  3:20 Reference a store path of an input? Jim Newsome
2021-12-17  8:40 ` Guillaume Le Vaillant
2021-12-18 15:24   ` Jim Newsome
2021-12-17  8:41 ` Nicolas Goaziou
2021-12-18 15:21   ` Jim Newsome [this message]

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=a775d982-d85c-ee62-d2f9-bdc44792ebcc@sporksmith.net \
    --to=jim@sporksmith.net \
    --cc=help-guix@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).