From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OLmpAOnIdGQnVAEASxT56A (envelope-from ) for ; Mon, 29 May 2023 17:46:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qEvUAOnIdGRYRQAA9RJhRA (envelope-from ) for ; Mon, 29 May 2023 17:46:49 +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 BA2DB2AA01 for ; Mon, 29 May 2023 17:46:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3ejV-00045z-TC; Mon, 29 May 2023 11:24:29 -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 1q1up0-00019O-1q for guix-devel@gnu.org; Wed, 24 May 2023 16:10:58 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1uoy-0003a4-7H for guix-devel@gnu.org; Wed, 24 May 2023 16:10:57 -0400 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-96fd3a658eeso199453666b.1 for ; Wed, 24 May 2023 13:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684959054; x=1687551054; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FPsJOZava1Bu7S2naLvvGJQi7iNF3st9QDlj52IUSkI=; b=Td5P63OmHIaS6oH1+Yfwa4n9SwEFxENv4v3CWROEN6+62AQ/69emPT0lfPjBdqR+U+ clm2m79VqHfoZGNzQrGrxomf0JMEe1sCIoIduDCASoObaVhZAZMyKw4CkWhLKBWOBFD7 roKBuZiaXDUi0Ob3BEGtGMAY9i7c5ufkbqbAf1k4YB1oSVZuj8F9w4Is2q3F5YlEE9nY 8/L7PoPZCOfCwD9W1X0xhEOTAnKXkPPehf+67tHONXRHI5uh1XPMggx6ewzEvM30e0we 8QsKcHCOtvB6v5q7K20OObyjCcCTYJEs96ucVQJMNzONkk59Mqx5DpAi+IeNpNtH3tMO 9gFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684959054; x=1687551054; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FPsJOZava1Bu7S2naLvvGJQi7iNF3st9QDlj52IUSkI=; b=EaJbLNkPTk7uWrESaomTqQVj0YoHsXuQyT2aOJBnMLtNuPOXBimaEToDhlNVMHJh4l kiuWapv2xtamk2HyeSWSs2ivCuBcTNFQ35hzMKskrjyOTqd+1Un1yNi0nsjbtkw8uGGG AqGgvU0rbfXV7OaaeMFBuVYpCoQIWFK/4RffPaTseKMIrpRm/e2d2E3VCOEjxr9Ol5lD Wmr2my35mTuz1kA5y7MMVHFMfV2dFn7CS8y7BznNKZ5wvfuD6kZ6kFLnaIuwjLpNhXLj m5v3LSNaqHQA8DISc4V8/ajaxOhKskBG1I7BUfaLcy978XCrTEKfKotFFpGYGj1eZ9xT lDrQ== X-Gm-Message-State: AC+VfDyhZaeVpA/zhh/fvRRrM8kC1v185/naTdDPyMj3ZGZyf1jevWLK LoHNfuHit8WGlCDtIjQq3osysg9x4muAp1kk5oE= X-Google-Smtp-Source: ACHHUZ4nMmHlvcQiviwx3BlyCfpygGSixNCAUdX3oIm22wbPSwHd2lwU2xkYhRPJaSw8dfOXmq4hdrWYUXMhX3+NMIU= X-Received: by 2002:a17:907:36ce:b0:965:6cb9:b768 with SMTP id bj14-20020a17090736ce00b009656cb9b768mr16500163ejc.31.1684959054043; Wed, 24 May 2023 13:10:54 -0700 (PDT) MIME-Version: 1.0 References: <875y8oz4ab.fsf@gmail.com> In-Reply-To: From: Timothy Washington Date: Wed, 24 May 2023 16:10:42 -0400 Message-ID: Subject: Re: Howto reference a custom package from a manifest To: Felix Lechner Cc: Kaelyn , Simon Tournier , Guix Devel , Tobias Kortkamp Content-Type: multipart/alternative; boundary="000000000000e09fac05fc7619a2" Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=twashing@gmail.com; helo=mail-ej1-x631.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, HTML_MESSAGE=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-Mailman-Approved-At: Mon, 29 May 2023 11:24:06 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685375208; a=rsa-sha256; cv=none; b=pghCfiqfDVjAsDSQIMBvDOP51GJGN6i1BGRrVAGIPkuJR94EjThrUACoe/G1eK38RY/krL cDSNTgKSm8BOf3R0/XcTv90z9CQgLvwCi224uXbvfM/n269UlNaCHwJmWpVFY0xZ4Buz8m CnhNYxaz3NYOgZeF/T2osYqu7GC3Y8lp9ejp/5YF6jFcJoCDOtizpCyANHEIE2UKnWpGbL g7UvRXhL5px9Qid8tdKMnHTndx94J/9nL17wDCUJyiv5ozUYb0Lpy9cQi9ufNkwDwuOzAK drkcw1kXxOnrPUAF50rvKGHmTUzl2X/JGpCIgP+gQ4nOUU4KtnEmWLcR6Og9iA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Td5P63Om; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685375208; 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=FPsJOZava1Bu7S2naLvvGJQi7iNF3st9QDlj52IUSkI=; b=LFRSvq0Oged8ImPbhLIsRJqWBv81BSGMtHILsHDkRWRRgujF1jyGSLhOOr+37XlCkvjOpw N+rc9IppPUfuMz8RTb9N202sBP0GW+2USaiJx850Z/n4tSdrJcu6Yq2QHQWraXZJuRH+An Ruav9QdRkthYJ2z71wB2G1tIylzK1eOKXWNM6kVV50JkxN1jrAH+8mtgknJTmLwfbsSHaV WN5im1VEIrb8QfuunVRco+N9mZMBKQTzTdb+tP5Dped85xL0SDfka79tA7OFEF+92bPpPF AqM5EKgJxkRGWjh5qz4bbU+v6SMwpsHJ/4lTXeN4zICQIqFqxlGfM22ZVqR3pQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Td5P63Om; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.80 X-Spam-Score: -3.80 X-Migadu-Queue-Id: BA2DB2AA01 X-TUID: A5YnMW8W8xBb --000000000000e09fac05fc7619a2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable "*Hats off to Tobias Kortkamp for pinpointing the issue so confidently and so quickly*" Yes, that was impressive :) "*Should 'rustscan' perhaps become part of Guix?*" In fact I have that in mind, yes! Initially however, I did use this pattern (see "*Howto supply cargo-build-system dependency to guix package definition* "). And seemingly got a different package definition. guix import crate -r rustscan guix build -L ~/dotfiles/ rust-rustscan-2 RustScan/RustScan versions haven't changed since I first tried to do this. So I'm happy to work with you to add rustscan to Guix. As a part of that exercise, - is there a way to make that process repeatable? - Can we ensure the current package definition works on all systems? Thanks Tim On Tue, 23 May 2023 at 12:54, Felix Lechner wrote: > Hi Timothy, > > On Tue, May 23, 2023 at 12:31=E2=80=AFAM Timothy Washington > wrote: > > > > Yes that was it! I added "(native-inputs (list perl python))" to my > package definition. > > > > $ guix build -L ~/dotfiles/ rust-rustscan # A. Now builds again! > > Hats off to Tobias Kortkamp for pinpointing the issue so confidently > and so quickly! We have a lot of amazing packaging talent on this > list. > > > i. Using a direct "guix build" gives you a directory in "/gnu/store". > And you can add that bin to your PATH. > > You may wish to have a look at 'guix shell'. It does something very > similar via an intermediate collection of symlinks that look like an > aggregate file tree, which we call a profile. > > > I'm attaching the full package definition to this email. > > Should 'rustscan' perhaps become part of Guix? I'd be happy to assist > with preparing such a patch while preserving your authorship. > > Kind regards > Felix > --000000000000e09fac05fc7619a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
"Hats off to Tobias Kortkamp for pinpointing the i= ssue so confidently and so quickly"
Yes, that was impressive := )

"Should 'rustscan' perhaps become= part of Guix?"
In fact I have that in mind, yes! Initially however, I did use t= his pattern=C2=A0(se= e "Howto supply cargo-build-system dependency to guix package de= finition&quo= t;). And seemingly got a different package definition.=C2=A0

guix import crate -r r= ustscan
guix build -L ~/dotfiles/ rus= t-rustscan-2

RustScan/RustScan=C2=A0versions h= aven't changed since I first tried to do this.
So I'm happy to work with you to add rust= scan to Guix.=C2=A0
A= s a part of that exercise,=C2=A0
  • is there a way to make that process repeatable?=C2=A0
  • Can we ensure the current package definition works on all systems?= =C2=A0

=
Thanks=C2=A0
Tim=C2=A0
<= /div>

On Tue, 23 May 2023 = at 12:54, Felix Lechner <f= elix.lechner@lease-up.com> wrote:
Hi Timothy,

On Tue, May 23, 2023 at 12:31=E2=80=AFAM Timothy Washington <twashing@gmail.com> wro= te:
>
> Yes that was it! I added "(native-inputs (list perl python))"= ; to my package definition.
>
> $ guix build -L ~/dotfiles/ rust-rustscan=C2=A0 =C2=A0# A. Now builds = again!

Hats off to Tobias Kortkamp for pinpointing the issue so confidently
and so quickly! We have a lot of amazing packaging talent on this
list.

> i. Using a direct "guix build" gives you a directory in &quo= t;/gnu/store". And you can add that bin to your PATH.

You may wish to have a look at 'guix shell'. It does something very=
similar via an intermediate collection of symlinks that look like an
aggregate file tree, which we call a profile.

> I'm attaching the full package definition to this email.

Should 'rustscan' perhaps become part of Guix? I'd be happy to = assist
with preparing such a patch while preserving your authorship.

Kind regards
Felix
--000000000000e09fac05fc7619a2--