Prepend string to "file" in G-expression

2024-12-10 Thread Marc Coquand
Heya, I'm trying to grok g-expressions and setting up a small guile program that sends an email. I have the following (define notify-mail-gexp (with-imported-modules '((guix build utils)) #~(begin (use-modules (guix build utils)) (let* ((msmtp-bin #$(file-append ms

Use qemu to build for non-native architecture on foreign distributions

2024-12-10 Thread Andy Tai
I am running GNU Guix on Ubuntu, on x86-64. Sometimes I need to build Fwd: use qemu to build for non-native architecture on foreign distributionssome packages for 64-bit ARM (aarch64). The GNU Guix manual shows how to set this up on GNU Guix System (as native distribution, using qemu to emulate t

Use Qemu to build for non-native architecture on foreign distributions

2024-12-10 Thread Andy Tai
I am running GNU Guix on Ubuntu, on x86-64. Sometimes I need to build packages for 64-bit ARM (aarch64). The GNU Guix manual shows how to set this up on GNU Guix System (as native distribution, using Qemu to emulate the non-native architecture such as aarch64), but I find no info on how to do thi

use qemu to build for non-native architecture on foreign distributions

2024-12-10 Thread Andy Tai
I am running GNU Guix on Ubuntu, on x86-64. Sometimes I need to build some packages for 64-bit ARM (aarch64). The GNU Guix manual shows how to set this up on GNU Guix System (as native distribution, using qemu to emulate the non-native architecture such as aarch64), but I find no info on how to d

Re: Building Qemu VM

2024-12-10 Thread Timothy Washington
Yes, Cheers for that. I'm able to run that command, and get a bit further. Tim On Mon, 9 Dec 2024 at 05:08, Jeremy Korwin-Zmijowski < jer...@korwin-zmijowski.fr> wrote: > Hi Timothy, > > Last time I generated a system image, I ran this command : > > guix system image --image-size=10G --image-typ

Re: Building Qemu VM

2024-12-10 Thread Timothy Washington
Hi Andreas, Ah, so my `(use-modules)` needed A, not B. Ie the `image` form is coming from `gnu.image`, not `gnu.system.image`. But then what is the difference between these two modules? When would I use `gnu.system.image` instead of `gnu.image`? A. (gnu image) B. (gnu system image) Either way, I

This Thursday - talk by Christine Lemmer-Webber (Guix Social)

2024-12-10 Thread Steve George
Hi all, Hope you're in the holiday season mood for a Guix Social this *Thursday* - Christine Lemmer-Webber will be giving a talk with the latest news about Spritely, Hoot (Guile in the browser) and distributed communities. It's on Thursday 12th December: 18:00 UTC, 18:00 GMT (London), 19:00

Re: 'guix install' downloads all outputs for packages with cmake build system.

2024-12-10 Thread Nigko Yerden
Simon Tournier wrote: Hum. I am not able to reproduce. First, let be sure nothing is already in the store. --8<---cut here---start->8--- $ guix gc --list-dead | grep x265-3.5-static finding garbage collector roots... determining live/dead paths... $ guix gc

Re: 'guix install' downloads all outputs for packages with cmake build system.

2024-12-10 Thread Simon Tournier
Hi, On Wed, 09 Oct 2024 at 18:55, nigko wrote: > > # don't forget to insure that /gnu/store does not already contain > # x265's static output before running this command: > $ guix install x265 > The following package will b

Re: Cannot install Guix System on A20-OLinuXino-LIME2

2024-12-10 Thread Simon Tournier
Hi Tanguy, On Tue, 03 Dec 2024 at 14:03, Tanguy LE CARROUR wrote: > la compilation de /gnu/store/h0k759xyd0pcjvshxn5v4khc0iwwb3jp-kbd-2.5.1.drv a > échoué > Vous trouverez le journal de compilation dans « > /var/log/guix/drvs/h0/k759xyd0pcjvshxn5v4khc0iwwb3jp-kbd-2.5.1.drv.gz ». [...] >

Help with defining a package with maven-build-system

2024-12-10 Thread Emmanuel Medernach
Hello Guixers, I am writing a package using the maven-build-system but I get an error: maven: org.hamcrest:hamcrest is missing from inputs error: in phase 'fix-pom-files': uncaught exception: no-such-input "org.hamcrest" "hamcrest" However I added to inputs: java-hamcrest-core java-hamcrest-lib

Re: Packaging Proton Bridge: Progress Report #2

2024-12-10 Thread Suhail Singh
Marek Paśnikowski writes: > I would not be able to go this far without using random elements found > in other Go packages. It is unfortunate, that the build system > reference page is missing some key concepts in the Go process. > https://guix.gnu.org/manual/en/html_node/Build-Systems.html Plea

Re: Debugging Shepherd Daemon. Possible escape char issue.

2024-12-10 Thread Jesse Millwood
Actually I'm not sure what my issue was before but I have this working as the extra arguments:    (extra-arguments     '("--label"   "traefik.http.routers.whoami.rule=Host(`whoami.geekslab`)")) Didn't have to wrap the whole thing in escaped quotes and used backticks for the go lang string

Re: how can I open files through packages installed in different profiles

2024-12-10 Thread Andreas Enge
Am Mon, Dec 09, 2024 at 07:25:58PM + schrieb gfp: > If I had all packages in my main profile, would it be possible to update > only some packages? > e.g. icecat and others quite regularly are updated, so it would be good to > update them more often. To complement Ian's reply, this is perfectly

Re: Debugging Shepherd Daemon. Possible escape char issue.

2024-12-10 Thread Jesse Millwood
For what it's worth I figured this out with help from giacomo of the gocix project. He has a really neat herd action where you can query the command line invocation that was used. That helped quite a bit to figure out what the issue was. Turns out for passing labels to the docker invocation you

Re: Packaging Proton Bridge: Progress Report #2

2024-12-10 Thread Marek Paśnikowski
I successfully built target bridge-nogui . The last step required implementation of a 'make' phase in the go build process. I considered splitting out the go component into its own package, to be an input of a qt package, but was not able to do it correctly. Implementation of a go process in