unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: ncdehnel@gmail.com
Cc: 42118@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	[thread overview]
Message-ID: <8bba5017b0c04cb4c92d25a855bf4d70986aa8bd.camel@student.tugraz.at> (raw)
In-Reply-To: CAEEhgEuYiWkSJg-c8PS3Ka0s=HD1RybTWYWMDg6Mi7o2pXNNCg@mail.gmail.com

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	other threads:[~2020-06-29 10:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29  7:34 bug#42118: Editing pulseaudio config file fails with "No such file or directory" Nathan Dehnel
2020-06-29 10:27 ` Leo Prikler [this message]
     [not found]   ` <CAEEhgEsW4VTRPXMkspfE9vcP5DNZCBV-7h2cxcbJFgEoY7pk6Q@mail.gmail.com>
2020-06-30 10:43     ` Leo Prikler
     [not found]       ` <CAEEhgEttgmXiegOkxptmPDGPSmuXJRDPpvmDkJPgUWzkn_-kXA@mail.gmail.com>
2020-07-01  8:15         ` Leo Prikler
     [not found]           ` <CAEEhgEvV5CFpE6aG9fnKopDd1MeXCMHZ_0bt_3DevNfNA4eJiQ@mail.gmail.com>
2020-07-01 10:57             ` Leo Prikler
2020-07-01 11:52               ` Nathan Dehnel
2020-07-01 12:01               ` Ricardo Wurmus
2020-07-07  2:59                 ` Nathan Dehnel
2022-09-29  0:39                   ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bba5017b0c04cb4c92d25a855bf4d70986aa8bd.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=42118@debbugs.gnu.org \
    --cc=ncdehnel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).