Subject: guix shell make --rebuild-cache on manifest change

From: jgart <[email-masked]>
Date: Fri, 29 Oct 2021 17:30:31 -0400

‎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