unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel@gnu.org
Subject: Computing a derivation for a profile
Date: Wed, 20 Dec 2023 00:37:24 +0100	[thread overview]
Message-ID: <8734vxiwv2.fsf@elephly.net> (raw)

Hi Guix,

I would like to compute a derivation for a profile specified by a
manifest.  I do not (yet) want to actually build that derivation.

This seems like a simple thing to do, but I haven’t been able to
accomplish this.  Here is one of the things I’ve tried in “guix repl”:

--8<---------------cut here---------------start------------->8---
(begin
  (use-modules (gnu packages) (guix) (guix profiles))
  (derivation-file-name
   (with-store s
     (run-with-store s
       (lower-object
        (profile
         (content
          (specifications->manifest
           (list "texlive-collection-latex"
                 "texlive-collection-latexextra"
                 "texlive-collection-latexrecommended"
                 "texlive-collection-fontsrecommended"
                 "texlive-pgf")))))))))
--8<---------------cut here---------------end--------------->8---

Unfortunately, lowering this profile object appears to invariably result
in substitutes for all these texlive packages to be downloaded, even
though I only want to get the derivation.

Am I doing something wrong here?  Is this supposed to work?  Is this a
regression?

-- 
Ricardo


             reply	other threads:[~2023-12-19 23:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-19 23:37 Ricardo Wurmus [this message]
2023-12-20 11:25 ` Computing a derivation for a profile Ricardo Wurmus
2024-01-09 22:03 ` Ludovic Courtès

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=8734vxiwv2.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).