Re: Guix learning exercices

2024-11-21 Thread Dev@icepic
Hey Marius! I am Guix and scheme newbie myself. I can't provide you with concrete learning materials, just some tips from my journey. I have learned a ton by working on a real project, namely, I try to port guix to a custom arm32 board using cross compilation. Cross compilation seems to be und

Re: How to diagnose Bluetooth trouble?

2024-11-21 Thread Daniel Hatton
On 21/11/2024 12:37, Ignas Lapėnas wrote: It might be a stupid question, but I'm still somewhat new on Guix... Do you use guix system? Or are you using guix on a foreign distro? Also if you're using guix system, can you send me your system configuration. I could try to reproduce the issue on my

Re: Guix learning exercices

2024-11-21 Thread Marius via
Oh thank you. I'll take a look on his channel. I've already installed Guix System by myself a year ago. X220 with libreboot, full disk encryption and everything. The thing is that I don't feel confident. For example what if I wanted to port a program to Guix I wouldn't now from where to start.

Guix learning exercices

2024-11-21 Thread Marius via
Good evening, I was wondering if there are any exercices online or not, in order to learn Guix in a "practical" way. I've read all the Guix Reference Manual but with the lack of real exercises that challenge me to actually get hands on I fear that I will quickly forget the "theoretical" knowle

Gnome startup applications and Guix updates

2024-11-21 Thread Daniel Hatton
Something that emerged from the recent "Gnome default web browser" thread on here: it looks to me like, in general, if - an application is among Gnome's startup applications; and - the guix package manager upgrades the package for that application then the Gnome autostart system continues to

Re: Guix learning exercices

2024-11-21 Thread Marius via
Wow, Thank You so much. For me the most confusing parts are how to deal with the store. How builds are translated into derivations, how derivations are applied. I do not get if G-exp are scheme description of derivations or of builds or in between? Then the whole bootstrapping process from vo

Re: Guix learning exercices

2024-11-21 Thread Josh Marshall
Pinging back, I can second the utility of learning exercises. On Thu, Nov 21, 2024, 12:12 PM Marius via wrote: > Good evening, > > > I was wondering if there are any exercices online or not, in order to > learn Guix in a "practical" way. I've read all the Guix Reference Manual > but with the la

Re: Guix custom channel and gnupg update

2024-11-21 Thread Saku Laesvuori
> I decided to create a custom channel that includes the latest version > of gnupg and its dependent libraries. To do this I used the gnupg.scm > file from Guix as a template but modified the versions and hashes of > the relevant package definitions. I then used my gnupg.scm file and > did a test b

Re: How to: How to wrap executablea?

2024-11-21 Thread Marius via
Thank you all, I've recently found this possible solution that it's native to Guix: . So there we have the technical words we were looking for, since Guix System does not conform with FHS the binary

Re: How to diagnose Bluetooth trouble?

2024-11-21 Thread Ignas Lapėnas
>From what I understand, even if hci0 could not be registered for some reason, hci1 should still be seen and registered. If so it should have been shown in `bluetoothctl list` command as an entry. The error you had before is for some reason not generated blueman packages service file. When package

Re: How to: How to wrap executablea?

2024-11-21 Thread Andreas Enge
Am Thu, Nov 21, 2024 at 01:00:54PM +0100 schrieb Dev@icepic: > I think you need to rewrite the path to the dependencies of the executable > using `patchelf`, so that the libs from the store are used. I only have done > this in nix, but it should be the same for guix? Maybe someone with more > ex

Re: How to diagnose Bluetooth trouble?

2024-11-21 Thread Daniel Hatton
Oh - something I should probably have mentioned before is that I have two Bluetooth controllers on this machine - an internal one (hci0) which I don't expect to work on Guix because it needs proprietary firmware, and the USB dongle (hci1) that I'm trying to use. OpenPGP_signature.asc Descr

Re: How to: How to wrap executablea?

2024-11-21 Thread Dev@icepic
Hi! I think you need to rewrite the path to the dependencies of the executable using `patchelf`, so that the libs from the store are used. I only have done this in nix, but it should be the same for guix? Maybe someone with more experience can comment on this. Best regards Christoph

Re: How to: How to wrap executablea?

2024-11-21 Thread woshilapin
Hi Marius, > I'm trying to execute a pre compiled program (on a Guix System) that I think > is trying to call /lib64/ld-linux-x86-64.so.2 by its absolute path. Since > Guix System does use the store and usually makes use of variables like > "SHELL", "LIBRARY_PATH", etc. How do I wrap executabl

Re: C++ error

2024-11-21 Thread Laurent Gatto
Thank you for your help, Fredrik. Bug filed here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74455 Laurent On Mon, 18 Nov 2024 at 19:49, Fredrik Salomonsson wrote: > > Hi, > > Laurent Gatto writes: > > > On Sat, 16 Nov 2024 at 11:56, Laurent Gatto wrote: > >> > >> Hi Fredrik, > >> > >> Exc