Ruby without RVM - what to do if the version I want is missing?

2024-06-14 Thread Daniel Littlewood
Hi Guix, I am trying to migrate from Debian to Guix. I am used to using RVM/rbenv to manage my ruby versions, but I don't think they're packaged for guix. They also obviously go against the grain of having guix manage all your software. Long story short, my project requires Ruby 3.3.0, and the la

Re: Ruby without RVM - what to do if the version I want is missing?

2024-06-14 Thread Felix Lechner via
Hi Daniel, On Fri, Jun 14 2024, Daniel Littlewood wrote: > I am trying to migrate from Debian to Guix. Congratulations & welcome! I did the same thing two and half years ago. The next two months were some of the most painful weeks in my life, but now I'm in a very happy place. > I am used to

dhcp-client default gateway with multiple interfaces, race condition?

2024-06-14 Thread Richard Sent
Hi Guix! I'm having trouble where my virtual private server (VPS) [1] has incorrect routing information configured. From a recovery console: --8<---cut here---start->8--- root@droplet-base ~# ip route default dev eth1 10.108.0.0/20 dev eth1 proto kernel scope l

Re: Ruby without RVM - what to do if the version I want is missing?

2024-06-14 Thread Andreas Enge
Hello Dan, I know very little about Ruby either, except that updates seem to go relatively smoothly compared to other modern languages. Adding a new version is quite trivial, here is one: (define-public ruby-3.3 (package (inherit ruby-3.2) (version "3.3.3") (source (origin

Re: dhcp-client default gateway with multiple interfaces, race condition?

2024-06-14 Thread Felix Lechner via
Hi Richard, On Fri, Jun 14 2024, Richard Sent wrote: > the default gateway isn't pointing towards the internet-routable > gateway The traditional answer has been that our dhclient service doesn't work very well. I had similar issues two years ago and, lacking time, simply went with network-mana

Re: dhcp-client default gateway with multiple interfaces, race condition?

2024-06-14 Thread Richard Sent
Hi Felix! Felix Lechner writes: > I believe the 'dhcp-configuration' is not quite sophisticated enough so > you may have to use the config-file option and include this content: > > # Assign this interface an IP address only. > # (This disables setting the gateway router, DNS, domain, etc

Re: dhcp-client default gateway with multiple interfaces, race condition?

2024-06-14 Thread Richard Sent
I managed to find an alternative that seems to work without disabling eth0 entirely or bloating my barebones server with NetworkManager. Connman. The configuration and the routing tables are much more complicated unfortunately, but it works. (Curiously I see a new IP in the routing table that neve

Is a graft warranted here?

2024-06-14 Thread Felix Lechner via
Hi, Why does the package definition below provide a grafted version 1.08.1 instead of the source I requested, please? Kind regards Felix * * * (define-public nyacc/juix (let* ((commit "41691b062b598a92549821879766e0ee48b635da") (revision "0")) (package (inherit nyacc)

Re: Is a graft warranted here?

2024-06-14 Thread Tomas Volf
Hello Felix, On 2024-06-14 16:27:35 -0700, Felix Lechner via wrote: > Hi, > > Why does the package definition below provide a grafted version 1.08.1 > instead of the source I requested, please? > > Kind regards > Felix > > * * * > > (define-public nyacc/juix > (let* ((commit "41691b062b598a92549

Re: Is a graft warranted here?

2024-06-14 Thread Felix Lechner via
Hi Tomas, Thank you for writing! On Sat, Jun 15 2024, Tomas Volf wrote: > Could you write bit more about how to reproduce it and what to look > for? My issue may be with 'guix shell'. Would you please run guix shell nyacc one time in order to get version 1.08.1 into your store and into yo

Re: Ruby without RVM - what to do if the version I want is missing?

2024-06-14 Thread Nils Landt
> Andreas Enge hat am 14.06.2024 19:36 CEST geschrieben: > > An interesting question would be whether all the packages that still depend > on ruby@3.1 can use ruby@3.2 or ruby@3.3 instead. There are breaking changes between these Ruby versions. For most packages, upgrading Ruby and having the te