Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move definitions upstream #1

Open
1 task
yellowsquid opened this issue Dec 26, 2021 · 8 comments
Open
1 task

Move definitions upstream #1

yellowsquid opened this issue Dec 26, 2021 · 8 comments

Comments

@yellowsquid
Copy link
Owner

Many of these modules are suitable for being moved into upstream Guix. This issue contains a list of which modules could be moved.

  • yellowsquid services pipewire
@awb99
Copy link

awb99 commented Dec 27, 2021

very interested in this!
do you have a example config for it?

@yellowsquid
Copy link
Owner Author

yellowsquid commented Dec 27, 2021

Here's an absolutely minimal Guix Home config for the PipeWire and WirePlumber services.

(use-modules (gnu home)
             (gnu services)
             (yellowsquid services pipewire))

(home-environment
 (services (list
            (service home-pipewire-service-type)
            (service home-wireplumber-service-type))))

In practice, you would want to have shell services, environment variables, and other packages in your profile. See the Home Configuration info node for more details.

@awb99
Copy link

awb99 commented Dec 28, 2021

great! thanks! I will test if that works.

I am trying to use wpctl to change my audio volume in a sway/wayland config. Will let you know how that goes.

I hope you manage the guix process to send it to the main guix repository.

In rde ( https://sr.ht/~abcdw/rde/) I have seen home services that can bring the packages
that they need. I am not sure if this functionality already is in the guix repos or not. But for pipewire
and wireplumber this might make sense, as it would reduce the complexity of guix home services
configuration.

@awb99
Copy link

awb99 commented Dec 28, 2021

This are the warnings I get when I did home reconfigure. Many services have config entries for
logfiles, perhaps that makes sense. I guess it is a missing package

The 3 services pipewire, pipewire-pulse and wireplumber are all running despite ths warning messages.

[W][01256.153563] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.153609] mod.rtkit    | [  module-rtkit.c:  465 set_nice()] could not set nice-level to -11: No such file or directory
[W][01256.154057] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.154966] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.155003] mod.rtkit    | [  module-rtkit.c:  465 set_nice()] could not set nice-level to -11: No such file or directory
[W][01256.155433] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.156722] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.157150] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.157165] mod.rtkit    | [  module-rtkit.c:  625 impl_acquire_rt()] could not make thread realtime: No such file or directory
[W][01256.161240] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.161672] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.161687] mod.rtkit    | [  module-rtkit.c:  625 impl_acquire_rt()] could not make thread realtime: No such file or directory

@awb99
Copy link

awb99 commented Dec 28, 2021

This works: wpctl set-volume 39 50
But the sound quality is horrible now. Listening to a youtube video the audio quality is so bad that I
can barely understand a word what is said.
I uges htis is related to this realtime kit tht I dont have installed (which unfortunately I also could not find
with guix search)

@jgarte
Copy link

jgarte commented Dec 13, 2024

Hi @yellowsquid,

Guix maintainer here.

Would you be interested in upstreaming your idris2 package and idris2-build-system?

I think we can close this issue and not do a bootstrap package:

https://issues.guix.gnu.org/49607

Feel free to send a patch for it and I can review.

If you open a patch ticket, I will close 49607 in favor of yours and I can review and merge it if it is ready.

I have commit access to Guix.

@yellowsquid
Copy link
Owner Author

Hi @jgarte. Currently the idris2 package behaves very poorly with grafts (as in idris completely breaks). Whilst upstreaming it would help the wider community, the current behaviour is surprising to say the least. If this isn't a problem I can submit a patch upstream regardless.

@jgarte
Copy link

jgarte commented Dec 22, 2024

Interesting, I'm not sure if that would be a problem or not. I can't recall now if we have any packages that behave similarly. Getting review from the wider Guix community on it though could provide more feedback on the matter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants