GNU bug report logs - #77352
[PATCH] home: services: define hyprland home service

Previous Next

Package: guix-patches;

Reported by: Carmine Margiotta <email <at> cmargiotta.net>

Date: Sat, 29 Mar 2025 06:22:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Andrew Wong <wongandj <at> icloud.com>
To: Carmine Margiotta <email <at> cmargiotta.net>, 77352 <at> debbugs.gnu.org
Cc: ludo <at> gnu.org, janneke <at> gnu.org, tanguy <at> bioneland.org, andrew <at> trop.in
Subject: [bug#77352] [PATCH v2] home: services: define hyprland home service
Date: Sun, 30 Mar 2025 21:14:35 -0400
[Message part 1 (text/plain, inline)]
Hello,
I've suggested some small changes which I've attached as patches. I also 
have some questions and comments:

On 3/30/25 1:11p, Carmine Margiotta wrote:> +;;; Gexp executables will 
be serialized on a program-file
> +(define (serialize-executable name value)
> +  (if (string? value) value
> +      (program-file (symbol->string name) value
> +                    #:module-path %load-path))
How will you serialize g-expressions? It seems that they are to be added 
to the store as scripts with 'program-file', but I can't figure out how 
to extract the file path from the resulting object; I tried in a REPL, 
program-file objects cannot be used as strings like this function seems 
to suggest, and none of the their properties seem to clearly give their 
location in the store.

Also, how are you testing your work? I asked in the IRC channel and they 
suggested spooling up a VM via 'guix system vm' with an operating-system 
definition containing the experimental service, but perhaps you have 
your own method.
[0001-home-services-hyprland-default-hyprland-env-Fix-typo.patch (text/x-patch, attachment)]
[0002-home-services-hyprland-default-hyprland-bindings-Rem.patch (text/x-patch, attachment)]
[0003-home-services-hyprland-hyprland-reload-Reword-phrase.patch (text/x-patch, attachment)]
[0004-home-services-hyprland-Localize-flatten.patch (text/x-patch, attachment)]
[0005-home-services-hyprland-Localize-indent.patch (text/x-patch, attachment)]

This bug report was last modified 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.