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: hurd-vm-service-type into /etc/config.scm

2024-04-10 Thread Saku Laesvuori
> Hi Saku o/ > > Thanks a lot, it works ! > > I'm in late for the plain text instead html, I think it's ok now. Yes, now the email looks good! - Saku signature.asc Description: PGP signature

Re: hurd-vm-service-type into /etc/config.scm

2024-04-09 Thread Saku Laesvuori
ext. This time also the quotation levels ('>' characters at the beginning of the line) are also off: some new text you wrote is multiple quotations in. I won't fix them in this message so you can see more clearly what I'm talking about. >> Le 2024-03-28T07:58:43.000+01:00

Re: hurd-vm-service-type into /etc/config.scm

2024-03-27 Thread Saku Laesvuori
On Wed, Mar 27, 2024 at 11:21:11AM +0100, hubert.lomb...@ik.me wrote: > Hello o/ > > Further investigations to insert the hurd-vm in /etc/config.scm In my > attempt at config.scm, inspired both by my own file and from examples > found on the Internet, I've tried to use (define %my-gnome as well an

Re: hurd-vm-service-type into /etc/config.scm

2024-03-19 Thread Saku Laesvuori
On Mon, Mar 18, 2024 at 03:52:44PM +0100, hubert.lomb...@ik.me via wrote: > Hi Richard ! > > Le 2024-03-16T16:07:29.000+01:00, Richard Sent > a écrit : > > > Hubert, > > > > Your issue is in your operating-system services field. In the backtrace: > >  > > --8<---cut here-

Re: Configuring mount for NTFS partition at boot makes the system unbootable.

2024-03-03 Thread Saku Laesvuori
> [...] > When running a system reconfigure and mounting this partition with > ntfs-3g, which is FUSE, without rebooting, I can read and write data, > but on reboot the system will fail to boot. > > My initial guess is that this may be some > issue with the FUSE kernel module not loading at boot t

Re: Home service for mbsync?

2024-02-22 Thread Saku Laesvuori
> Does anyone have an 'mbsync' home service, please? Thanks! I use a service that combines mbsync and imapnotify. It's not quite ready yet (the code could be cleaner and it should provide a way to sync all mailboxes manually) but it's attached if you want to take a look. (define-module (mailsync)

Re: Trying to create a .zshrc in guix home environment referencing a zsh plugin

2024-01-21 Thread Saku Laesvuori
> [reformatted] > > (zshrc > (list (computed-file > "zshrc" > #~(begin > (reduce string-append "" > (list "bindkey -e\n" > (format #f "source > ~s/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh\n" >

Re: guix offload

2023-12-20 Thread Saku Laesvuori
> Hello. > > I have a configured build machine. From time to time it is not available > and guix build gets stuck in an endless loop of: > > guix offload: error: failed to connect to : No route to host > process 13902 acquired build slot > guix offload: error: failed to connect to : No route to

Re: USB redirection via libvirt

2023-11-20 Thread Saku Laesvuori
> I am trying to get USB redirection working with libvirt, but I am > hitting a snag. [...] I am now getting a new error: > > Error setting USB device node ACL: 'Error PoliciKit error: > GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action > org.spice-space.lowlevelusbaccess is not regis

Re: Turning off tests leads to a different store item

2023-11-08 Thread Saku Laesvuori
On Wed, Nov 08, 2023 at 10:18:40AM -0800, Vagrant Cascadian wrote: > On 2023-11-08, Felix Lechner via wrote: > > On Wed, Nov 08 2023, Maxim Cournoyer wrote: > >> A source tree doesn't produce a derivation. A derivation is the > >> complete build recipe that captures the source and the package > >>

Re: Store file names / how to intern files in subdirectory?

2023-10-05 Thread Saku Laesvuori
> [...] > I understand it makes no sense to try to get > /gnu/store/greenclip.service, but would it be possible to achieve > /gnu/store/pznbc8xxhfkwxjbaff9h982cy4df1y1a-greenclip.service/some-directory/greenclip.service? > Or are files always saved at the "top level" of the store? It is possible w

Re: Encrypted install in VM stuck in GRUB

2023-09-14 Thread Saku Laesvuori
> Hi all, > > I installed guix in an x86 virtual machine, using the 1.4 installer. I > selected the guided partitioning option with encryption, so everything was > done by the installer. > > When the installation is finished and the virtual machine reboots, I have  > > -- copy start -- > Booting

Re: GHC packages' inputs leak in guix shell

2023-09-09 Thread Saku Laesvuori
> > I can’t check right now, but I’m guessing a plain `cabal install` > > would also add base64-bytestring to GHC’s visible packages? > > I tested with cabal-install and it somehow manages to hide the haskell > packages that are installed as dependencies. Apparently cabal uses ghc environments[1]

Re: How to use certbot and REQUEST_CA_BUNDLE

2023-09-05 Thread Saku Laesvuori
On Tue, Sep 05, 2023 at 10:59:21AM +0200, Moisés Simón wrote: > Hi, > > I'm running my own acme server and CA I need to pass REQUEST_CA_BUNDLE env > variable to the certbot mcron job. > > What would be the best approach to pass this variable to certbot-service that > Guix provides? Probably wr

Re: GHC packages' inputs leak in guix shell

2023-08-29 Thread Saku Laesvuori
> I can’t check right now, but I’m guessing a plain `cabal install` > would also add base64-bytestring to GHC’s visible packages? I tested with cabal-install and it somehow manages to hide the haskell packages that are installed as dependencies. ``` $ guix shell -CN cabal-install coreutils zlib -

Re: GHC packages' inputs leak in guix shell

2023-08-28 Thread Saku Laesvuori
On Mon, Aug 28, 2023 at 01:40:14PM +0200, Simon Tournier wrote: > Hi, > > On Thu, 24 Aug 2023 at 19:16, Saku Laesvuori wrote: > >> > Running `guix shell --pure ghc-esqueleto -D ghc-bytestring-builder` > >> > results in an environment that has the base64-bytestrin

Re: GHC packages' inputs leak in guix shell

2023-08-24 Thread Saku Laesvuori
> > Running `guix shell --pure ghc-esqueleto -D ghc-bytestring-builder` > > results in an environment that has the base64-bytestring package (from > > ghc-base64-bytestring) visible, even though it is not listed on listed > > the command line (ghc-bytestring-builder doesn't dependend on it). It > >

GHC packages' inputs leak in guix shell

2023-08-14 Thread Saku Laesvuori
Running `guix shell --pure ghc-esqueleto -D ghc-bytestring-builder` results in an environment that has the base64-bytestring package (from ghc-base64-bytestring) visible, even though it is not listed on listed the command line (ghc-bytestring-builder doesn't dependend on it). It seems to "leak" fro

Re: Can Guix channels be non-GPL?

2023-06-13 Thread Saku Laesvuori
> One view is that GPL does not propagate, because the Guile language does > not link. This would be a very dangerous interpretation and clearly go against the spirit of the GPL: any proprietary software could use any GPL software if they were written in a language that doesn't link. There is a lo

Re: Error building with guix system image

2023-04-25 Thread Saku Laesvuori
> > (define %operating-system > > (operating-system > >(host-name "image-test") > >(bootloader (bootloader-configuration > > (bootloader grub-bootloader) > > (targets '("/dev/sdX" > >(file-systems (cons* > > (file-system > >

Error building with guix system image

2023-04-19 Thread Saku Laesvuori
Running `guix system image image-minimal.scm` fails with the following build log: ```build log for partition.img.drv copying 340 store items | [progress bar animation] registering 337 items | [progress bar animation, fails before end] Backtrace: In ice-9/eval.scm: 619:8 19 (_ #(# # …)) In ./gn

Re: Newbie: Why executing "guix home reconfigure" requires an Internet connection?

2023-03-14 Thread Saku Laesvuori
On Tue, Mar 14, 2023 at 11:49:41PM -0500, Rodrigo Morales wrote: > Table of Contents > _ > > 1. The context > 2. The questions > > > 1 The context > = > > Currently, the only way I know how to make my laptop connect to the > Internet is via Ethernet, because the

Adding files to base-initrd

2022-11-26 Thread Saku Laesvuori
Is there a way to add extra files to base-initrd in guix system configuration? The use case I have in mind is adding a key file for my encrypted drive to the initrd so that I would only have to enter my password once. Now I have to enter it once for GRUB and then once again for linux. - Saku

Re: Store path in package definition

2022-08-28 Thread Saku Laesvuori
((out (assoc-ref outputs "out"))) > (substitute* "foo.c" > (("hello") > (string-append out "/bin/hello")) Thanks all. I got that part working. Unfortunately I found out that firefox/icecat tries to find native mess

Re: Am I doing it all wrong?

2022-08-28 Thread Saku Laesvuori
he expansion were not within > double-quotes [...]. > > + [...] > > So, $@ == "$@". It does actually make a difference if the arguments have spaces. Given arguments "foo" and "foo bar", $@ expands to "foo" "foo" "bar" and "$@" expands to "foo" "foo bar". - Saku Laesvuori signature.asc Description: PGP signature

Store path in package definition

2022-08-25 Thread Saku Laesvuori
to do something with gexps but couldn't figure it out by reading the documentation. - Saku Laesvuori signature.asc Description: PGP signature

Re: Substitute not being used

2022-08-19 Thread Saku Laesvuori
lure was caused by not having enough memory and was fixed by adding swap space. > However, as you noticed, the ungrafted version seems substituable and > not the grafted one. That explains it, thanks! I didn't realize grafting could affect substituting (or be different on the same co

Substitute not being used

2022-07-25 Thread Saku Laesvuori
I'm trying to install telegram-desktop and I *think* guix should be able to substitute it, but instead it tries to build it. (which then consistently fails, which is why I started looking into it) $ guix describe Generation 11 Jul 25 2022 10:15:41(current) guix 2367469 repository URL: