From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oDDvNbE2QWQuoQAASxT56A (envelope-from ) for ; Thu, 20 Apr 2023 14:57:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EH7sNLE2QWTZbAEAG6o9tA (envelope-from ) for ; Thu, 20 Apr 2023 14:57:21 +0200 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 A5CD040351 for ; Thu, 20 Apr 2023 14:57:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppTqK-0008G4-Ba; Thu, 20 Apr 2023 08:56:56 -0400 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 1ppTqI-0008Fk-Go for help-guix@gnu.org; Thu, 20 Apr 2023 08:56:54 -0400 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppTqE-0004ZQ-3U for help-guix@gnu.org; Thu, 20 Apr 2023 08:56:53 -0400 Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-5f6058c0761so2451146d6.1 for ; Thu, 20 Apr 2023 05:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681995408; x=1684587408; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=lWAjUSdwQkaOWoiPkN9eEQ/3EDbq5eVnW+mOOXQpghg=; b=FmNz2RHN/5Wysp4YHlmU9ghZ6KDQIjhQTNfEl83qiGkSal+atGYixfvPcMjeLXQNih c7bY4X4hvFZ603arlfzK7Unjv29hMaDzCoEDNCeG8BsFr/GwtaTrDkhAvV9ZWxHptN8s lSnj893kXtZWfhvvKyY8NLp9l2dFQDzhA+Wb0brqQtlJM3/XfIKmaDBhyNfeqLpAuEdv fV+sHVCcdVEVFOCINF4WfoY6US0SAAS67z3/cHVd9xDU6n7GElIaTfDoP2qOHF1ifm88 YumflFQTo+Bv121ZwdxkGMRvWvzB3RmW+J0vHLn20OZ7EE6shQBMQ5wZDPR+wYmd0Ns/ PM6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681995408; x=1684587408; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lWAjUSdwQkaOWoiPkN9eEQ/3EDbq5eVnW+mOOXQpghg=; b=Cde8vedg3LVtL8OaiYIsFeCTowFCrWHz31tYfyB7vT35v9/H7gukOjMPVOe6H94WXX Jqb+FZmps/bMZjTniwRoyYhrXrTvmp+7s04WwJ/+/iMkanYCH1P63dvqc2SZCXsw6lHW Y2VnkH2c1QJAVxXu1pWuFDnuhTiDjnTPpwRYMZkTYnWJ5cPIY6tVOYzTKVZUt3lBNAJG gjgqcBXce/vDi3TudffftZSBy/VSaQVNzJMfUUMnwg8boZ4jYYURXqPB+mS1IP9ZV6RG U9B/FS8zusektfKRQmYBv18qLkvL164C1ufSfWIHMjxxF94a0lQCK14RifGFksG9JClk Snww== X-Gm-Message-State: AAQBX9eUiplCUp9y8zxxFNnToVr3i/RW6wM/7uu5yD1s+2a6r/Fyv4Io meo2jwuuNbef/5PxWMb6scZi35mbg/k= X-Google-Smtp-Source: AKy350bcVT/TxeNJHx9pnbk5OyzmreMUYm9n1xvg/QfZfPgJEl83ZRoUs+UTdyPv4Vl1tU4KKoKbDw== X-Received: by 2002:a05:6214:e4e:b0:5ef:4ecb:cf9d with SMTP id o14-20020a0562140e4e00b005ef4ecbcf9dmr1933166qvc.6.1681995408555; Thu, 20 Apr 2023 05:56:48 -0700 (PDT) Received: from hurd (dsl-155-56.b2b2c.ca. [66.158.155.56]) by smtp.gmail.com with ESMTPSA id p15-20020a0ccb8f000000b005dd8b93457asm396377qvk.18.2023.04.20.05.56.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 05:56:48 -0700 (PDT) From: Maxim Cournoyer To: Kyle Andrews Cc: help-guix@gnu.org Subject: Re: Alternatives to --emulate-fhs on foreign distros References: <87cz407482.fsf@posteo.net> Date: Thu, 20 Apr 2023 08:56:47 -0400 In-Reply-To: <87cz407482.fsf@posteo.net> (Kyle Andrews's message of "Wed, 19 Apr 2023 06:18:33 +0000") Message-ID: <87ttxayank.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f2d; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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=gmail.com header.s=20221208 header.b=FmNz2RHN; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681995441; a=rsa-sha256; cv=none; b=qTv2MIiNnlaMaBeYHuL4vDnXXw4THvn9vkVMMChROTvKdwytCPQn3o5WlnHqyS7hRqHgbD mr62mlSI3+KT2xTVEP7cDsCWwOm6xNQhtFSI59JXVA3f5qgLFxyQufTpSbcbXasJ/143EP eenf1EwycK2gZIjs0FUxAf2sMfKO9lNrNJsS2WW5qMq7IBJ1o076z1iwV2jbMxGqFoX8gt jhG183OodDkkSkkZuZPtEqO2Qyukr0pcotc5hkulMu0psr/n+KwCy4iS1FoYqHsxaIr7a9 qP8jVwlkcnr+vT5AoLYgQJ/MdPZG9mhFtX5OBZLVeiMDtGmvcw8cfMGn95/NeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681995441; 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=lWAjUSdwQkaOWoiPkN9eEQ/3EDbq5eVnW+mOOXQpghg=; b=QdAR4UGiETIQYnGEPdcst/loEdqHX8sZJJg01n42DksRHdUfQ5gf092BspS7c6QoRcinMs 0JXmX/UIQZTl0JBXbtpxnwrGUh4cmXGFgzmAVx/XrbZMO2HyASf1DI6geUHfcXYcGxAyeu WbzCk/8kbujJ6iECHvPh2QrUMfeooA4rZKNToGgSmnbAjk/Q2+NH7OI7TjAX7Z+4QZpZpK eHDR8+r1dvji/PjLEjdesZo7iX1Fim7WU/UBBR7IIr29fbn10zUyF8tSYa+b5cVCqhUgrf VLpszW05pkXpTdM9tMXxaYNj4LgcqSiPUOgm+AvNdxAY/fYCJNiXI0fiOy/5QA== X-Migadu-Spam-Score: -10.45 X-Spam-Score: -10.45 X-Migadu-Queue-Id: A5CD040351 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=FmNz2RHN; 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=gmail.com X-TUID: TdmMkW36c0ii Hi Kyle, Kyle Andrews writes: > Dear Guix, > > The (many) shell scripts in my software depend on bashisms. In the > code right now I typically use /usr/bin/env bash since I had read that > was the most portable way of referencing a shell. However, I really > don't think I have a good handle on what my choices are. Maybe the > tedious solution of just typing `bash script.sh' in all of the system > calls referencing this scripts might be the right approach in the long > run? Use /usr/bin/env. It's available on all mainstream distributions, and it's also available on Guix System, so it should work everywhere. -- Thanks, Maxim