unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Konrad Hinsen <konrad.hinsen@cnrs.fr>
Cc: 62411@debbugs.gnu.org
Subject: [bug#62411] [PATCH] environment: Add '--nesting'.
Date: Tue, 28 Mar 2023 15:50:20 +0200	[thread overview]
Message-ID: <87ilelgf37.fsf@inria.fr> (raw)
In-Reply-To: <m1y1nhb4eb.fsf@fastmail.net> (Konrad Hinsen's message of "Tue, 28 Mar 2023 11:40:12 +0200")

Konrad Hinsen <konrad.hinsen@cnrs.fr> skribis:

> Except that I must have missed something:
>
>   $ guix time-machine --url=$HOME/src/guix --branch=wip-nested-containers -- shell -C -W -N make bash -- make all
>   Updating channel 'guix' from Git repository at '/home/hinsen/src/guix'...
>   guix time-machine: error: Git error: cannot locate remote-tracking
>   branch 'origin/keyring'

Maybe you need to run ‘git fetch’ and/or make sure the remote is called
“origin”?

> I worked around this using --disable-authentication, but I don't
> understand what's going wrong. My repository is a clone of the official
> repository at Savannah, and it does have a branch "origin/keyring".

Weird.  (You would have needed ‘--disable-authentication’ anyway, now
that I think about it, because the commit signed by you would have been
considered “inauthentic”.)

> The patch works as expected for me. I could simplify the instructions
> for running my example Makefile from
>
>    guix shell -C -N make bash guix nss-certs \
>        --expose=/var/guix/daemon-socket/socket \
>        --expose=/gnu/store \
>        -- make all
>
> to:
>
>    guix shell -C -W -N make bash \
>        -- make all
>
> and. more importantly, require much less explanation of ugly
> technicalities.

Yay!

> The full Makefile is attached for illustrating the context in which I
> (intend to) use this new feature. I use time-machine inside the recipes
> of my Makefile, in order to make them fully reproducible. This used to
> be a very expensive operation without the patch, because the
> time-machine in the container did not have access to the global cache on
> the host system. It is a lot faster now.
>
> So... where is the "like" button?  ;-)

Click here ➡ 👍 ⬅

Thanks a lot for testing!  If there are no further comments, I’ll push
it within a couple of days.

Ludo’.




  reply	other threads:[~2023-03-28 13:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-23 19:46 [bug#62411] [PATCH] environment: Add '--nesting' Ludovic Courtès
2023-03-24  7:32 ` Konrad Hinsen via Guix-patches
2023-03-24  7:46   ` Ludovic Courtès
2023-03-28  7:24     ` Konrad Hinsen
2023-03-28  7:47       ` Ludovic Courtès
2023-03-28  9:40         ` Konrad Hinsen
2023-03-28 13:50           ` Ludovic Courtès [this message]
2023-03-29  7:41             ` Konrad Hinsen
2023-04-06 19:37               ` Ludovic Courtès
2023-04-07 16:53             ` Simon Tournier
2023-04-17  8:19               ` 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=87ilelgf37.fsf@inria.fr \
    --to=ludovic.courtes@inria.fr \
    --cc=62411@debbugs.gnu.org \
    --cc=konrad.hinsen@cnrs.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.
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).