From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:42:50 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:42:50 +0000 Received: from localhost ([127.0.0.1]:38696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYKA-0000NY-J5 for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:42:50 -0400 Received: from lepiller.eu ([89.234.186.109]:44826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYK5-0000NI-7j for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:42:50 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id f5d3f680; Thu, 21 Jul 2022 15:42:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=2r9GIxzF9nbD 7BAu31fnnVkOe8CYXGYayYqk0sEP5Ss=; b=fySvbHiFI1BlkH1spEHssKr7lk5v /21n/bWYnfbJu5xbGCTHJVQfefr51agQm0ZULBijZhpi4epjyy1IDvPQdNk2fqt1 11MNlCkJjICTROGaHuxY0H67DnjDYSdJzaHDpFTGhrAsCArZRDWwYW3kVHGHzMds PjaouITrtrrPAKksMzNw+dk7IiH3s0UbKpCea/D8j52i++cAVP2H0gX0N/Nt9max fmzcRaSWBq76INEbXsHiWcVgY2VPCm161Hyn59p5nEFa6N4oSviZhDGXqA+2OQA7 w+iLqGboznAolUX2h1iKbWr14hKUUQpJwNJCJ3L3ThKvBl8R0EyOumL30g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 71b9ab35 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 21 Jul 2022 15:42:42 +0000 (UTC) Date: Thu, 21 Jul 2022 17:42:36 +0200 From: Julien Lepiller To: "(" , Maxime Devos , 56030@debbugs.gnu.org Subject: Re: bug#56030: The guix pull profile is too big User-Agent: K-9 Mail for Android In-Reply-To: References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----GN71ELZSYU7IZAKOKLI72XO2WDXGY5 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 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.0 (-) ------GN71ELZSYU7IZAKOKLI72XO2WDXGY5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable We're trying to avoid hard-coding bash-static in glibc, instead letting the= build-system fill the value in dependents=2E So that can't be it, right? Le 21 juillet 2022 17:11:56 GMT+02:00, "(" a =C3=A9c= rit=C2=A0: > >And considering the definition of system(3) in glibc: > >@ sysdeps/posix/system=2Ec (took me way too long to find this; glibc's >source code is a maze ;)) >``` >#define SHELL_PATH "/bin/sh" /* Path of the shell=2E */ >#define SHELL_NAME "sh" /* Name to give it=2E */ >``` > >couldn't we just use `-DSHELL_PATH=3D/gnu/store/=2E=2E=2E`? > > -- ( ------GN71ELZSYU7IZAKOKLI72XO2WDXGY5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable We're trying to avoid hard-coding bash-static in g= libc, instead letting the build-system fill the value in dependents=2E So t= hat can't be it, right?

Le 21 juillet 202= 2 17:11:56 GMT+02:00, "(" <paren@disroot=2Eorg> a =C3=A9crit=C2=A0:

And considering the definition of s= ystem(3) in glibc:

@ sysdeps/posix/system=2Ec (took me way too long = to find this; glibc's
source code is a maze ;))
```
#define SHELL_= PATH "/bin/sh" /* Path of the shell=2E */
#define SHELL_NAME "sh" /* N= ame to give it=2E */
```

couldn't we just use `-DSHELL_PATH=3D/g= nu/store/=2E=2E=2E`?

-- (
------GN71ELZSYU7IZAKOKLI72XO2WDXGY5--