guix shell make --rebuild-cache on manifest change

  • Done
  • quality assurance status badge
Details
3 participants
  • jgart
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
jgart
Severity
normal

Debbugs page

J
(name . Guix Bug)(address . bug-guix@gnu.org)(address . rprior@protonmail.com)
20211029173031.GB21467@gac.attlocal.net
‎10/29/2021 | 05:18:17 PM ‎jgart‎: civodul, wdyt of `--rebuild-cache` being automatic/the default for guix shell instead of having to explicitly specify the flag to rebuild the cache?
‎10/29/2021 | 05:18:31 PM ‎jgart‎: I think this is the default for docker or how docker works
‎10/29/2021 | 05:18:42 PM ‎jgart‎: I was discussing this with Ryan Prior the other day
‎10/29/2021 | 05:18:45 PM ‎nckx‎: Doesn't that defeat the purpose?
‎10/29/2021 | 05:18:51 PM ‎jgart‎: who had mentioned it to me
‎10/29/2021 | 05:19:36 PM ‎jgart‎: If you change the manifest then guix shell should rebuild the cache
‎10/29/2021 | 05:19:40 PM ‎jgart‎: that's how it works for docker
‎10/29/2021 | 05:19:53 PM ‎jgart‎: > Create manifest with 2 packages: python, python-requests. Run guix shell. Decide you want python-lxml instead: exit shell, edit manifest to add python-lxml, re-run guix shell. Type import lxml, it says no module named lxml.
‎10/29/2021 | 05:20:05 PM ‎jgart‎: That's quoting Ryan from our conversation
‎10/29/2021 | 05:20:11 PM ‎nckx‎: Oh.
‎10/29/2021 | 05:20:19 PM ‎nckx‎: That just sounds like a bug?
‎10/29/2021 | 05:20:27 PM ‎jgart‎: That was his experience that he was frustrated with
‎10/29/2021 | 05:20:30 PM ‎jgart‎: yup
T
T
Tobias Geerinckx-Rice wrote on 29 Oct 2021 16:08
(name . jgart)(address . jgart@dismail.de)
87h7czifyt.fsf@nckx
However, as added later on IRC:
Toggle quote (3 lines)
> <jgart> nckx, I think that was a hypothetical bug. I don't think
> he ever tried it with python-lxml

So I think this bug needs a concrete reproducer before we can
assume its existence.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYXx/qg0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15f10A/jp+QvKMnqbyVqucoK6VTutOYE/hLoMhwH0754ya
+gdAAP48Be/nDo13DMAON0d/ji4rL/+R6f+zHTWrLp48Hv+vCA==
=ZMW3
-----END PGP SIGNATURE-----

J
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
20211029201017.GD978@gac.attlocal.net
On Sat, 30 Oct 2021 01:08:45 +0200 Tobias Geerinckx-Rice <me@tobias.gr> wrote:
Toggle quote (7 lines)
> However, as added later on IRC:
> > <jgart> nckx, I think that was a hypothetical bug. I don't think
> > he ever tried it with python-lxml
>
> So I think this bug needs a concrete reproducer before we can
> assume its existence.

Yes, this can probably be closed. I think Ludo mentioned that it works as I
hoped in the irc earlier today.

I haven't tried yet but I trust him that it does :)
T
T
Tobias Geerinckx-Rice wrote on 29 Oct 2021 17:35
87cznnibyp.fsf@nckx
Toggle quote (4 lines)
> Yes, this can probably be closed. I think Ludo mentioned that it
> works as I
> hoped in the irc earlier today.

Right: that's how it's supposed to work.

Then again, maybe Ryan found a scenario in which it didn't?

Let's find out more from the horse's mouth (CC'd).

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYXyT7w0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15Q6UA/iT1XgFrCebveNHhBdqiLEcK+mX0IZAy6mtaG5jM
ZqUeAQDpyATn0Buj753bqWnBMTGNyIx0/rvYggujSq8cMxnLBw==
=nha8
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 7 Nov 2021 06:59
control message for bug #51494
(address . control@debbugs.gnu.org)
87lf20ko5l.fsf@gnu.org
tags 51494 notabug
close 51494
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 51494@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 51494
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch