unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Timothy Washington <twashing@gmail.com>
To: Felix Lechner <felix.lechner@lease-up.com>
Cc: Kaelyn <kaelyn.alexi@protonmail.com>,
	Simon Tournier <zimon.toutoune@gmail.com>,
	 Guix Devel <guix-devel@gnu.org>,
	Tobias Kortkamp <tobias.kortkamp@gmail.com>
Subject: Re: Howto reference a custom package from a manifest
Date: Wed, 24 May 2023 16:10:42 -0400	[thread overview]
Message-ID: <CAADtM-bPf5bPyBVuWXXKOWpqairDpMKMSKci=zrPfw9vFOkGJQ@mail.gmail.com> (raw)
In-Reply-To: <CAFHYt55hhVVO-M88=viqU-yXnzzLZLk=1E+0HGsEDOSC=4ho+g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1954 bytes --]

"*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*
<https://lists.gnu.org/archive/html/help-guix/2023-05/msg00009.html>"). And
seemingly got a different package definition.

guix import crate -r rustscan
guix build -L ~/dotfiles/ rust-rustscan-2

RustScan/RustScan <https://github.com/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 <felix.lechner@lease-up.com>
wrote:

> Hi Timothy,
>
> On Tue, May 23, 2023 at 12:31 AM Timothy Washington <twashing@gmail.com>
> 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
>

[-- Attachment #2: Type: text/html, Size: 3936 bytes --]

      reply	other threads:[~2023-05-29 15:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAADtM-b6Fpv9DPCRV_5ji+GBSESODOqL-SOEQh-G=6bL0XEetg@mail.gmail.com>
     [not found] ` <875y8oz4ab.fsf@gmail.com>
     [not found]   ` <CAADtM-bc9FU6B+k5UaJctk3+T2aPO_z2edp=SM5LoZgd5JeNYA@mail.gmail.com>
2023-05-21 16:46     ` Howto reference a custom package from a manifest Simon Tournier
2023-05-21 20:35       ` Timothy Washington
2023-05-22  8:41         ` issue with packaging 'rustscan' Simon Tournier
2023-05-22  9:56           ` Tobias Kortkamp
2023-05-22 20:21             ` Timothy Washington
2023-05-22 18:17         ` Howto reference a custom package from a manifest Kaelyn
2023-05-22 20:20           ` Timothy Washington
2023-05-23 16:39             ` Kaelyn
2023-05-24 20:25               ` Timothy Washington
2023-05-24 22:16                 ` Kaelyn
2023-05-26 23:27                   ` Timothy Washington
2023-05-23 16:54             ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-24 20:10               ` Timothy Washington [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAADtM-bPf5bPyBVuWXXKOWpqairDpMKMSKci=zrPfw9vFOkGJQ@mail.gmail.com' \
    --to=twashing@gmail.com \
    --cc=felix.lechner@lease-up.com \
    --cc=guix-devel@gnu.org \
    --cc=kaelyn.alexi@protonmail.com \
    --cc=tobias.kortkamp@gmail.com \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).