Adding Hyprland

  • Done
  • quality assurance status badge
Details
2 participants
  • John Kehayias
  • The Man
Owner
unassigned
Submitted by
The Man
Severity
normal

Debbugs page

The Man wrote 6 months ago
(address . guix-patches@gnu.org)
CAPfwWagheHG+w+1cKG9WT0bLweGrHM_yst0S5hPbKJFo5rd==Q@mail.gmail.com
While the conditions are not quite ideal, guix is almost in a form to
accept Hyprland
the following remains:
mesa-updates commits:
318a1b8596b4862e7449f9e809fc29b203256db6 (gnu: wayland-protocols: Update to
1.37.)
fdc34f63b54de7d356cc5adcbed7a0c7a532c789 (gnu: libinput: Update to 1.26.2.)
in the master guix branch:
others:
pipewire updated (only issue with a single header, not a real blocker but
would be ideal)

Otherwise, see attached with the hypr* desktop and utilities building,
running, and working
on my desktop.

The only caveat existing is that adding the following:
("GBM_BACKENDS_PATH" . ,(file-append mesa "/lib:$GBM_BACKENDS_PATH"))
to a home-environment-variables-service-type in your home configuration is
apparently a
requirement for running or hyprland will complain about egl/gbm.
otherwise I've tested the functionality of the desktop and nothing appears
to be broken.
linked, a screenshot of hyprland running in guix:

attached are the package and service files.
feel free to put this off until later, this is only to show that it can be
done.
Attachment: file
Attachment: hyprland.scm
Attachment: hyprland.scm
John Kehayias wrote 2 months ago
(name . The Man)(address . squishypinkelephant@gmail.com)(address . 73328-done@debbugs.gnu.org)
87seq2i974.fsf@protonmail.com
On Tue, Sep 17, 2024 at 10:31 PM, The Man wrote:

Toggle quote (23 lines)
> While the conditions are not quite ideal, guix is almost in a form to accept Hyprland
> the following remains:
> mesa-updates commits:
> 318a1b8596b4862e7449f9e809fc29b203256db6 (gnu: wayland-protocols: Update to 1.37.)
> fdc34f63b54de7d356cc5adcbed7a0c7a532c789 (gnu: libinput: Update to 1.26.2.)
> in the master guix branch:
> https://issues.guix.gnu.org/73311 (libliftoff)
> others:
> pipewire updated (only issue with a single header, not a real blocker but would be ideal)
>
> Otherwise, see attached with the hypr* desktop and utilities building, running, and working
> on my desktop.
>
> The only caveat existing is that adding the following:
> ("GBM_BACKENDS_PATH" . ,(file-append mesa "/lib:$GBM_BACKENDS_PATH"))
> to a home-environment-variables-service-type in your home configuration is apparently a
> requirement for running or hyprland will complain about egl/gbm.
> otherwise I've tested the functionality of the desktop and nothing appears to be broken.
> linked, a screenshot of hyprland running in guix: https://files.catbox.moe/2troyt.webp
>
> attached are the package and service files.
> feel free to put this off until later, this is only to show that it can be done.

Closing, as hyprland was finally added to Guix some weeks ago :)

I'm not sure about your second file (hyprland service) as hyprland can
be used as any other WM/compositor from e.g. GDM login manager. If
something doesn't work correctly currently or something to add, please
do open a new bug/patch. (I do use hyprland on Guix via a login manager
and have had no issues that I know of, but I do treat it more as a bare
WM and set up things as I do for other non-DEs.)

Thanks!
John
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 73328@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73328
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help