unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: 63230@debbugs.gnu.org
Subject: bug#63230: ‘guix shell’ cache is system-independent
Date: Tue, 02 May 2023 09:58:46 +0200	[thread overview]
Message-ID: <875y9b9nbd.fsf@inria.fr> (raw)

I just noticed that the ‘guix shell’ cache doesn’t take the system type
into account, which is problematic:

--8<---------------cut here---------------start------------->8---
$ guix shell -s aarch64-linux guile guile-fibers -- guile  -q
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> %host-type
$1 = "i686-unknown-linux-gnu"
scheme@(guile-user)> ,q
$ guix shell -s powerpc64le-linux guile guile-fibers -- guile  -qGNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> %host-type
$1 = "i686-unknown-linux-gnu"
scheme@(guile-user)> ,q
$ guix describe
Generation 259  May 01 2023 23:40:54    (current)
  guix 39ba8a1
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 39ba8a10971f15264966823e8696d63c2995df86
  shepherd 6a2b366
    repository URL: https://git.savannah.gnu.org/git/shepherd.git
    branch: master
    commit: 6a2b36635d1588a07660403e137134fddf5b4923
--8<---------------cut here---------------end--------------->8---

One can work around it by passing ‘--rebuild-cache’.

Ludo’.




             reply	other threads:[~2023-05-02  7:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02  7:58 Ludovic Courtès [this message]
2023-07-13 22:41 ` bug#63230: ‘guix shell’ cache is system-independent 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=875y9b9nbd.fsf@inria.fr \
    --to=ludovic.courtes@inria.fr \
    --cc=63230@debbugs.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).