From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8IQuOVgComOn+AAAbAwnHQ (envelope-from ) for ; Tue, 20 Dec 2022 19:43:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GCUvOVgComNyPwEA9RJhRA (envelope-from ) for ; Tue, 20 Dec 2022 19:43:36 +0100 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 C559F1322B for ; Tue, 20 Dec 2022 19:43:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7hVx-0005Lr-Eu; Tue, 20 Dec 2022 13:38:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7hVl-0005IE-Sj for help-guix@gnu.org; Tue, 20 Dec 2022 13:38:46 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7hVj-0000zi-SF for help-guix@gnu.org; Tue, 20 Dec 2022 13:38:45 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7EE5A240027 for ; Tue, 20 Dec 2022 19:38:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671561521; bh=rhBT0PJj/rvJdY0I+6ChEDK+besr9nWnpTpgHVKo8VQ=; h=From:To:Cc:Subject:Date:From; b=MjPjE62OmuDrlFbskhjYeiylpKYLXM3nIPf3VKxC7dda4VwgjDeCvWlFYXJK3KTI9 BkEepfTNf2SsCO4L2G6xVxBhPgJr9BowVk+gSuhJlEPONTx5p0tlmd/6YkZSaazbXC hqlkAMksSiCiERCehezeQFwG1RqDFv6Jp6Q3Vs+pRpeIttvd5mvDHmFKIE5ULCoVr7 D2HJ2fRuDwUG6K7LsHoZd/RQHRe6rL2ISx+iUhrMv5OeOQnmHQdwArDS8nRxKhWPg6 jt0wnCGBqIupXeJ0PKy3d/oJy/SfuDe+4S2UQiXltvyLOUcU4eAvN5HXuLkEeYH+PE dyMmfd5qOqQJg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Nc51r0J35z9rxK; Tue, 20 Dec 2022 19:38:39 +0100 (CET) References: <87pmcfgpc9.fsf@posteo.net> <87zgbiwfh8.fsf@fsfe.org> From: Elias Kueny To: Jelle Licht Cc: help-guix@gnu.org Subject: Re: Running a shell command with home-run-on-change-service-type Date: Tue, 20 Dec 2022 18:16:17 +0000 In-reply-to: <87zgbiwfh8.fsf@fsfe.org> Message-ID: <87ili5hqdt.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=185.67.36.65; envelope-from=elias.kueny@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MjPjE62O; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671561816; a=rsa-sha256; cv=none; b=FQTLXqRVDuxgEBIevYLOYLYPccjxZJYXReVVG8IRT17sqvzpLkLQvUfTRouvskbpz8xIhK q00KjiTk7aNUMDMCE2bZfnuO/qEvp4i9RtLpI32PDadcDVP8s9J6Osy8lVb5UUNUl30Y9N EdYmJzXFI/M1xMgSdUR8IQehRkGUov84qTldf5FIWaFc5N9PEQ2+oiCJuaL+e26V2ayR7E TysCH4qxCjbeE1aW+5qL6cu0VxLfqbt4FUjpf1E0o9UC4xX6lhLzYD40q7F+DLUcHpOuyr oIES3I7jCxEXcxBuemZJMtdXOZn1yoIhknpOKNP7x1sXRXa+wL5lahMsmDngZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671561816; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Ao/CMYBsUhC6mnFDK6C9vwkrJZj94XkeFtUjKPsSfQo=; b=JnUgI9uKq4BUHiWcLKJRev8THAPs2UNAijSiMhN9G0PRlV1N8ne2JFeVZe+EwW6JCYmuhE AUhy+WV20ERBmiDmGd//pR3sSF4FyIJEKfPrG/vdnRlqPIJLXZGPZbF642ZVhI+D+/i/gx ecN9v3I5o5Uc4Y/wlFbRNgfLqYVAwPWMS15eO9Tu4x+qMa5da2ntAUyj0ZUb1yvqv/FTJz /i3XdvjUyrrGvTCPvQh7k3TeRvBkYYuvIj2hXlFDME4x5dTQbS+C54+hLg+7bqlslarGJv fzCZGMkFAakA+dyzAZbwDcVbFDlnBZqocUdS6538sigr8yhdihzq4MQCJrH5DQ== X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MjPjE62O; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Spam-Score: -8.32 X-Spam-Score: -8.32 X-Migadu-Queue-Id: C559F1322B X-TUID: myxcBMgfQ1q6 On Tue, Dec 20 2022, Jelle Licht wrote: > ... here you quasi-quote the service extension configuration with > "`". To make use of a gexp in the expression, we need to unquote the gexp > expression, so replace "#~" by ",#~". Thank you, this was the solution! I expected that replacing the quasi-quote by a normal quote would also do, but apparently no, as it gives the same error as before. And after I changed "#~" by ",#~" as you suggested, "#$(file-append fish "/bin/fish")" started throwing a different error. But this now works so it's good enough for me: > (simple-service 'fisher-update-on-change > home-run-on-change-service-type > `(("files/.config/fish/fish_plugins" > ,#~(system* "fish" "-c" "fisher update"))))