bug-guix
[Top][All Lists]
Advanced

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

bug#42118: Editing pulseaudio config file fails with "No such file or di


From: Leo Prikler
Subject: bug#42118: Editing pulseaudio config file fails with "No such file or directory"
Date: Mon, 29 Jun 2020 12:27:00 +0200
User-agent: Evolution 3.34.2

Hello Nathan,

The snippet you've supplied
> (define %my-services
>   ;; My very own list of services.
>   (modify-services %desktop-services
>     (pulseaudio-service-type config =>
>                        (pulseaudio-configuration
>                         (inherit config)
>                         (script-file
> "/home/nathan/.config/pulse/default.pa")))))
can not possibly work.  The reason for that, is that "file" does not
refer to an actual file, but to a file-like object as returned by Guix
G-Expressions.  You probably want to use `mixed-text-file' or something
similar to write your default.pa inside Guix itself.  Alternatively,
you can unset PULSE_CONFIG and PULSE_CLIENTCONFIG in your .profile (or
equivalent for other shells) and Pulseaudio should load your local
configuration.

Regards, Leo






reply via email to

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