Re: Prepend string to "file" in G-expression

2024-12-11 Thread Felix Lechner via
Hi Marc, On Wed, Dec 11 2024, Marc Coquand wrote: > Essentially what I'm trying to do is build a program that sends an > email, and then package it in Guix. Maybe you could pipe an appropriately formatted text to 'sendmail'? Here is an example. [1] Kind regards Felix [1] https://codeberg.org/

Re: guix shell

2024-12-11 Thread Felix Lechner via
Hi Gottfried, On Wed, Dec 11 2024, gfp wrote: > will the file, which I create or update be saved ... ? I don't know homebank, but the answer is "probably." Homebank should store its data somewhere in your home folder. Traditionally, it might have been ~/.homebank. Modern software will use a f

Re: guix shell

2024-12-11 Thread Hartmut Goebel
Hi, Could I use guix shell homebank to not install homebank, because I don´t need it on a daily basis, but I want to save the data, which I put into homebank? Yes.The data is stored wherever homebank stored it – which most probably is somewhere in your home directory. Much simplified you ca

Trying to add elogind sleep/shutdown hook support

2024-12-11 Thread 45mg.writes
Hi Guix, So I've been trying to patch `elogind-service-type` in order to add support for the `system-sleep` and `system-shutdown` hook directories [1]. This would give users a way to run scripts before/after suspend/hibernate, a feature that is currently missing in Guix [2]. I've run into a strang

guix shell

2024-12-11 Thread gfp
Hi Guix, a simple question: If I use e.g. homebank with guix shell will the file, which I create or update be saved and I don´t loose my data, so that I can enter data on it on a weekly basis? Could I use guix shell homebank to not install homebank, because I don´t need it on a daily basis, b

Re: Help with defining a package with maven-build-system

2024-12-11 Thread Simon Tournier
Hi Emmanuel, On Tue, 10 Dec 2024 at 17:05, Emmanuel Medernach wrote: > maven: org.hamcrest:hamcrest is missing from inputs > error: in phase 'fix-pom-files': uncaught exception: > no-such-input "org.hamcrest" "hamcrest" My guess is about pom.xml. Either something with the one of dcache is inc

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

2024-12-11 Thread nigko
Here is an example of problematic package with gnu-build-system: --begin $ guix install libsmf guix install: warning: Your Guix installation is 16 days old. guix install: warning: Consider running 'guix pull' followed by 'guix package

Re: Building Qemu VM

2024-12-11 Thread Andreas Enge
Am Tue, Dec 10, 2024 at 11:50:44PM -0500 schrieb Timothy Washington: > (define (boot-partition size) >   (file-system >      (mount-point "/boot") >      (device "/dev/vda1") >      (type "ext4"))) > > (define (root-partition size) >   (file-system >      (mount-point "/") >      (device "/dev/vda

Re: Prepend string to "file" in G-expression

2024-12-11 Thread Marc Coquand
Heya, Essentially what I'm trying to do is build a program that sends an email, and then package it in Guix. The reason is that laminar (a ci tool) expects a script to run after each job. My initial idea was to build a shell-script with Guile, but I thought it might be easier to build a Guile-

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

2024-12-11 Thread nigko
Hello Rutherther, On Wed, Dec 11, 2024 at 1:54 PM Rutherther wrote: > You are building the package. I think I've already explained it on > the IRC few weeks ago: due to how guix is made, build always builds > all outputs. That is because when you are building the package, > there is just one buil

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

2024-12-11 Thread Rutherther
Hello Nigko, > Hello Simon, > Now I'm on 47ab553178eb00d02ba9588ed1f7df44fb2f7c4c guix commit and > still have the problem: > begin--- > $ guix build x265 -d You are building the package. I think I've already explained it on the IRC f