From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 30 22:11:32 2021 Received: (at 50833) by debbugs.gnu.org; 1 Oct 2021 02:11:32 +0000 Received: from localhost ([127.0.0.1]:54367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW81M-0005ER-Aw for submit@debbugs.gnu.org; Thu, 30 Sep 2021 22:11:32 -0400 Received: from out1.migadu.com ([91.121.223.63]:16010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW81I-0005EG-I1 for 50833@debbugs.gnu.org; Thu, 30 Sep 2021 22:11:31 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1633054287; h=from:from: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; bh=hzYRgcQhvhNFpJTjpdhx/waLxLCe4Qq0JcKo3McD4eg=; b=AuGQ4YTXFlt2z2f5G85/Tu7gdxdtFokoTty4dnHBboI0ei9KKuyYpM0oXoaoT6hAQX7Cd5 1aKzC8CtRN/SrWSpLbIFFMBgZAWnMiDHeDvkcwocl2GZklOPYAZVm0FHYujynVjj0XKG6i xVXd6zp1PKU0/2xXKlZS0o3HBYr3ULk= From: Sarah Morgensen To: jgart Subject: Re: [bug#50833] [PATCH] gnu: Add bower. References: <20210926190836.GB8410@gac.attlocal.net> <20210926231145.18651-1-jgart@dismail.de> <864ka6vnkv.fsf@mgsn.dev> <20210928211220.GB21136@gac.attlocal.net> Date: Thu, 30 Sep 2021 19:11:24 -0700 In-Reply-To: <20210928211220.GB21136@gac.attlocal.net> (jgart@dismail.de's message of "Tue, 28 Sep 2021 21:12:20 -0400 (1 day, 2 hours, 56 minutes ago)") Message-ID: <868rzdtrxv.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50833 Cc: 50833@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Apologies for the delayed reply. jgart writes: >> If it's not possible to 'substitute*' those values, 'wrap-program' could >> be used to add the correct directories to PATH, but that can introduce >> other issues. > > I'll have to wrap my head around this one a bit more to understand what is needed. > > It looks like the mercury code does not call the binaries directly. > I might be wrong. I have to take a closer look. Do you happen to have > some places in the code where you see the binaries being called in a way that > requires wrapping the path? These are the locations I found. src/compose.m 1488:base64_command = command_prefix(shell_quoted("base64"), quote_once). src/detect_mime_type.m 55:file_command = command_prefix(shell_quoted("file"), quote_once). src/prog_config.m --8<---------------cut here---------------start------------->8--- :- func default_notmuch_command = command_prefix. default_notmuch_command = command_prefix(shell_quoted("notmuch"), quote_once). :- func default_editor_command = command_prefix. default_editor_command = command_prefix(shell_quoted("vi"), quote_once). :- func default_html_dump_command = command_prefix. default_html_dump_command = command_prefix(shell_quoted(Lynx), quote_once) :- Lynx = "lynx -dump -force-html -stdin -display-charset=utf-8". :- func default_open_part_command = string. default_open_part_command = "xdg-open&". :- func default_open_url_command = string. default_open_url_command = "xdg-open&". :- func default_pipe_id_command = string. default_pipe_id_command = "xclip". :- func default_alt_html_filter_command = command_prefix. default_alt_html_filter_command = command_prefix(shell_quoted("pandoc -f markdown -t html"), quote_once). :- func default_poll_period_secs = maybe(int). default_poll_period_secs = yes(60). :- func default_auto_refresh_inactive_secs = maybe(int). default_auto_refresh_inactive_secs = no. :- func default_sendmail_command = command_prefix. default_sendmail_command = command_prefix(shell_quoted("/usr/bin/sendmail -oi -oem"), quote_once). --8<---------------cut here---------------end--------------->8--- Also, I just caught one more thing--usually we write out the full URL in the origin, rather than re-use the 'home-page' field. Hope that helps, -- Sarah