* [bug#61545] [PATCH] gnu: Add waybar-experimental
@ 2023-02-15 22:22 Erik Giorgis
2023-03-22 18:21 ` bug#61545: " Maxim Cournoyer
0 siblings, 1 reply; 2+ messages in thread
From: Erik Giorgis @ 2023-02-15 22:22 UTC (permalink / raw)
To: 61545; +Cc: Erik Giorgis
---
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)
+ (name "waybar-experimental")
+ (arguments
+ (list #:configure-flags #~(list "-Dexperimental=true")))
+ (synopsis "Waybar with experimental features"))))
+
(define-public wlr-randr
(package
(name "wlr-randr")
--
2.39.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#61545: [PATCH] gnu: Add waybar-experimental
2023-02-15 22:22 [bug#61545] [PATCH] gnu: Add waybar-experimental Erik Giorgis
@ 2023-03-22 18:21 ` Maxim Cournoyer
0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2023-03-22 18:21 UTC (permalink / raw)
To: Erik Giorgis; +Cc: 61545-done
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-22 18:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-15 22:22 [bug#61545] [PATCH] gnu: Add waybar-experimental Erik Giorgis
2023-03-22 18:21 ` bug#61545: " Maxim Cournoyer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.