unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Computing a derivation for a profile
@ 2023-12-19 23:37 Ricardo Wurmus
  2023-12-20 11:25 ` Ricardo Wurmus
  2024-01-09 22:03 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2023-12-19 23:37 UTC (permalink / raw)
  To: guix-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-09 22:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-19 23:37 Computing a derivation for a profile Ricardo Wurmus
2023-12-20 11:25 ` Ricardo Wurmus
2024-01-09 22:03 ` Ludovic Courtès

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