GNU bug report logs - #42118
Editing pulseaudio config file fails with "No such file or directory"

Previous Next

Package: guix;

Reported by: Nathan Dehnel <ncdehnel <at> gmail.com>

Date: Mon, 29 Jun 2020 07:36:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: ncdehnel <at> gmail.com
Cc: 42118 <at> debbugs.gnu.org
Subject: bug#42118: Editing pulseaudio config file fails with "No such file or directory"
Date: Mon, 29 Jun 2020 12:27:00 +0200
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





This bug report was last modified 2 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.