From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: checking out a shebang-patched package source Date: Fri, 29 Mar 2019 20:27:25 +0100 Message-ID: <87sgv5zdk2.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9xBW-0000Rt-H2 for help-guix@gnu.org; Fri, 29 Mar 2019 15:29:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9xBU-000188-K1 for help-guix@gnu.org; Fri, 29 Mar 2019 15:29:02 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9xBT-0000XB-1s for help-guix@gnu.org; Fri, 29 Mar 2019 15:28:59 -0400 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: brettg@posteo.net Cc: help-guix brettg@posteo.net writes: > I am trying to compile the newest Chez Scheme locally from a git > checkout. There are a number of shebang patches that have to be done > for it to compile "traditionally" (not using the guix build > --with-source) so I can generate a .compile_commands for my lsp to > know how to reference headers and such. I don=E2=80=99t know what a =E2=80=9Clsp=E2=80=9D and =E2=80=9C.compile_com= mands=E2=80=9D is. > Is there a way to get guix to modify those files that it patches on my > local checkout so I dont have to go through manually modifying it > myself? No, there isn=E2=80=99t. Generally, patches that are applied in a snippet = are performed before the build starts, so that you can get the modified source code with =E2=80=9Cguix build -S the-package=E2=80=9D, but patching = shebangs is done as part of the gnu-build-system build phases. You can attempt to execute the procedures that make up the gnu-build-system manually, but there=E2=80=99s no quick way to do this automatically. -- Ricardo