Re: Edits to `etc/resolv.conf` being overwritten

2021-04-02 Thread phil
I found when using GuixSD with Gnome that the network manager would periodically overwrite my DNS changes made directly to resolv.conf. If you experience this issue it should leave a comment on the first line. I was able to make it work by changing it through Gnome's Settings GUI, rather than e

[Guix System] Can't run VM script because of KVM kernel module permission

2021-04-02 Thread Jérémy Korwin-Zmijowski
Hey Guixters ! On my laptop running Guix System, I try to execute a VM from the script generated by "guix system vm". But I issue the following message : $ /gnu/store/dxrwz82s34zi33n9h9cpn8sqw5pv4qyz-run-vm.sh Could not access KVM kernel module: Permission denied qemu-system-x86_64: failed to ini

Re: [Guix System] Can't run VM script because of KVM kernel module permission

2021-04-02 Thread Mathieu Othacehe
Hello Jérémy, > $ /gnu/store/dxrwz82s34zi33n9h9cpn8sqw5pv4qyz-run-vm.sh > Could not access KVM kernel module: Permission denied > qemu-system-x86_64: failed to initialize kvm: Permission denied Are you part of the "kvm" group yourself? Mathieu

Re: [Guix System] Can't run VM script because of KVM kernel module permission

2021-04-02 Thread Jérémy Korwin-Zmijowski
Le vendredi 02 avril 2021 à 11:36 +0200, Mathieu Othacehe a écrit : > Are you part of the "kvm" group yourself? > > Mathieu Hi Mathiue ! I tried to add myself to the group using : $ sudo usermod -a -G kvm jeko Then re-executing the vm script returned the same error. Jérémy

Re: [Guix System] Can't run VM script because of KVM kernel module permission

2021-04-02 Thread Sergiu Ivanov
Thus quoth Jérémy Korwin-Zmijowski on Fri Apr 02 2021 at 11:39 (+0200): > Le vendredi 02 avril 2021 à 11:36 +0200, Mathieu Othacehe a écrit : >> Are you part of the "kvm" group yourself? >> >> Mathieu > > Hi Mathiue ! > > I tried to add myself to the group using : > > $ sudo usermod -a -G kvm je

Re: [Guix System] Can't run VM script because of KVM kernel module permission

2021-04-02 Thread Jérémy Korwin-Zmijowski
Le vendredi 02 avril 2021 à 11:43 +0200, Sergiu Ivanov a écrit : > Just in case: did you logout and login afterwards? > > Group attributions need that to become effective. > > - > Sergiu Hi Sergiu! That's becoming embarrassing... I rebooted instead of logged out and I might have lost the group

Re: [Guix System] Can't run VM script because of KVM kernel module permission

2021-04-02 Thread divoplade
Le vendredi 02 avril 2021 à 11:39 +0200, Jérémy Korwin-Zmijowski a écrit : > I tried to add myself to the group using : > > $ sudo usermod -a -G kvm jeko Hello, Groups need to be specified in the config.scm file. You need to edit it, and under "(user-account", find or create the entry "(supple

Re: [Guix System] Can't run VM script because of KVM kernel module permission

2021-04-02 Thread Mathieu Othacehe
> Now the VM is running. > Sorry for bothering you with this. No worries, in fact I was thinking yesterday about adding the user by default to the "kvm" group when running the installer, to prevent this kind of issues. Mathieu

Re: About packaging documentation

2021-04-02 Thread Zelphir Kaltstahl
Hello Ricardo! On 3/16/21 11:03 PM, Ricardo Wurmus wrote: > Hi Zelphir, > >> Hello Ricardo! >> >> On 3/15/21 4:43 PM, Ricardo Wurmus wrote: >>> Hi Zelphir, >>> https://guix.gnu.org/cookbook/en/html_node/Packaging-Tutorial.html is a good start. It has even got cookbook in the name. D

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-02 Thread Bone Baboon
In this case I am not using Gnome or NetworkManager. There are no comment on the first line of `resolv.conf`. I am connecting to the internet using `wpa_supplicant` and `dhclient`. p...@beadling.co.uk writes: > I found when using GuixSD with Gnome that the network manager would > periodically o

Re: freecad 19.1 / flatpak

2021-04-02 Thread Gary Johnson
Christophe Pisteur writes: > Unfortunately there is no git on flathub. There is only gitg, which I > installed, but the problem remains with the freecad addons. That's unfortunate. So...maybe I missed (or forgot) this part of the discussion, but I see that guix has a package definition for free

Re: About packaging documentation

2021-04-02 Thread Zelphir Kaltstahl
Hi Ricardo! On 4/2/21 1:29 PM, Zelphir Kaltstahl wrote: > > Hello Ricardo! > > On 3/16/21 11:03 PM, Ricardo Wurmus wrote: >> Hi Zelphir, >> >>> Hello Ricardo! >>> >>> On 3/15/21 4:43 PM, Ricardo Wurmus wrote: Hi Zelphir, > https://guix.gnu.org/cookbook/en/html_node/Packaging-Tutorial

Re: Edits to `etc/resolv.conf` being overwritten

2021-04-02 Thread Gary Johnson
Bone Baboon writes: >> Any suggestion on how to stop my edits of `etc/resolv.conf` from being >> overwritten? >> >> `/etc/resolv.conf` is being overwritten removing changes I save to it. >> My edits to `etc/resolv.conf` specify some name servers. Some time >> after my edits are saved the file is

Re: About packaging documentation

2021-04-02 Thread Ricardo Wurmus
Hi Zelphir, > (1) The cookbook does not even mention the guile-build-system. […] > I guess this is, because the cookbook tries to be generic in a way, to apply > to > all languages, if only one uses autotools, as those are applicable to all > languages. No, you’re overthinking it :) The cookb

Re: About packaging documentation

2021-04-02 Thread Ricardo Wurmus
Hi Zelphir, > $ ./pre-inst-env guix build guile-fslib > guix build: error: guile-fslib: unknown package […] > Ugh. Not working. for what it’s worth, I added the definition to gnu/packages/guile-xyz.scm and it worked. I note that you haven’t mentioned running “make”, but your output does not in

Guix build system customization

2021-04-02 Thread Timmy Douglas
I was wondering if there were any guides for making large customizations to the Guix build systems. For example, one might want to set up custom CFLAGS for gnu-build-system, change the default value for stripping binaries, etc. This would disable substitutions and void the warranty, but might be