guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61545: [PATCH] gnu: Add waybar-experimental


From: Maxim Cournoyer
Subject: bug#61545: [PATCH] gnu: Add waybar-experimental
Date: Wed, 22 Mar 2023 14:21:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

Erik Giorgis <git@egiorg.is> writes:

> ---
> Waybar built with the experimental flag has support
> for additional features, such as displaying the 
> number of active workspaces in Hyprland.
>
>  gnu/packages/wm.scm | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
> index f2149b5be5..07e834df8a 100644
> --- a/gnu/packages/wm.scm
> +++ b/gnu/packages/wm.scm
> @@ -1875,6 +1875,15 @@ (define-public waybar-cpu-histogram
>      (home-page "https://github.com/plattfot/cpu-histogram/";)
>      (license license:expat)))
>  
> +(define-public waybar-experimental
> +  (let ((base waybar))
> +    (package
> +      (inherit base)

A subtlety of inheritance; this should be package/inherit base, as the
same source code is shared (thus same vulnerabilities may exist and need
the same replacement treatment by grafts).

> +      (name "waybar-experimental")
> +      (arguments
> +       (list #:configure-flags #~(list "-Dexperimental=true")))
> +      (synopsis "Waybar with experimental features"))))
> +
>  (define-public wlr-randr
>    (package
>      (name "wlr-randr")

I've made the above change, along a correct change log message:

--8<---------------cut here---------------start------------->8---
gnu: Add waybar-experimental.

* gnu/packages/wm.scm (waybar-experimental): New variable.
--8<---------------cut here---------------end--------------->8---

and installed the change.

Thank you!

-- 
Maxim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]