From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ECH/KX4X+159HwAA0tVLHw (envelope-from ) for ; Tue, 30 Jun 2020 10:44:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iBDYJX4X+16OHgAA1q6Kng (envelope-from ) for ; Tue, 30 Jun 2020 10:44:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB77A9403E9 for ; Tue, 30 Jun 2020 10:44:13 +0000 (UTC) Received: from localhost ([::1]:43916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqDkK-0005Qc-0r for larch@yhetil.org; Tue, 30 Jun 2020 06:44:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqDkA-0005Of-Sq for bug-guix@gnu.org; Tue, 30 Jun 2020 06:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqDkA-0003G7-Gg for bug-guix@gnu.org; Tue, 30 Jun 2020 06:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqDkA-0003ZV-D8 for bug-guix@gnu.org; Tue, 30 Jun 2020 06:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42118: Editing pulseaudio config file fails with "No such file or directory" Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 Jun 2020 10:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42118 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nathan Dehnel Received: via spool by 42118-submit@debbugs.gnu.org id=B42118.159351382013689 (code B ref 42118); Tue, 30 Jun 2020 10:44:02 +0000 Received: (at 42118) by debbugs.gnu.org; 30 Jun 2020 10:43:40 +0000 Received: from localhost ([127.0.0.1]:50281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqDjn-0003Yj-MA for submit@debbugs.gnu.org; Tue, 30 Jun 2020 06:43:39 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:16286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqDjk-0003YX-K9 for 42118@debbugs.gnu.org; Tue, 30 Jun 2020 06:43:38 -0400 Received: from nijino.local (193-81-159-42.hdsl.highway.telekom.at [193.81.159.42]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 49x1DP1mzbz3wbF; Tue, 30 Jun 2020 12:43:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1593513813; bh=alkk5kgUXlob0Z6rJYi2GVCk3DVJoT98/i97lEc79k8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=T+kaTywkHgBoqiIfn0sfhxt/jmn7Kf+5rIL4NK+4vFfwgz/rxkd2c/yGvW0Ob5Pii lyZDRbmIt/TSye+kVSNYFs9RuiusnvTZ8cwIfjQWIZDgsno5A0RiuN8b2C9cY0Y5g/ gsh4m32ddoOmosRq149g1hOcRnfPUNn/i9WSBaLQ= Message-ID: <8104d8d87ddfcd1572dd6e0dd553a2fcaa7483f0.camel@student.tugraz.at> From: Leo Prikler Date: Tue, 30 Jun 2020 12:43:32 +0200 In-Reply-To: References: <8bba5017b0c04cb4c92d25a855bf4d70986aa8bd.camel@student.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42118@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=T+kaTywk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: YrwccydJGVlt Am Dienstag, den 30.06.2020, 05:22 -0500 schrieb Nathan Dehnel: > Thanks for the tip. Do I have to put the entire file inside a string > in guix? It's quite long. mixed-text-file allows you to split the string into multiple parts, but that is essentially the idea, yes. There are of course other ways of building it, but it is your task to ensure, that those end up with the result you want. In my personal opinion, explicit coding tends to be best suited to accomplish this. > https://guix.gnu.org/manual/en/html_node/G_002dExpressions.html > > It mentions "local-file" so I did this: > (script-file (local-file > "/home/nathan/.config/pulse/default.pa")))))) > > guix system reconfigure then completed, but pulseaudio does not seem > to reflect the change in settings. That should work up to a certain extent – what this basically does is copy your local default.pa into the Guix store and then /etc/pulse/default.pa is a symlink to that file in the Guix store. Depending on the content of default.pa, that may not actually be what you want, but unless you're doing very weird things in there, it may also be a perfectly valid configuration. Can you check, that /etc/pulse/default.pa is indeed what you want it to be? IIRC, you may have to reboot for /etc to change. Regards, Leo