From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6GiGFCoPRmTVhgAASxT56A (envelope-from ) for ; Mon, 24 Apr 2023 07:10:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8IV6FCoPRmQbAQEA9RJhRA (envelope-from ) for ; Mon, 24 Apr 2023 07:10:02 +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 206873A085 for ; Mon, 24 Apr 2023 07:10:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=htQZooDq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682313002; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZpleGhKAjuyk3BCr/rNH7ICd48zmt+2YOiy16VHCEfE=; b=hz/60SY60weJs0WAj4e2toNUAMPXguHhtRQ8obRFZVXwL9yn/qsC4VnRyzGQdiicuAalI5 fXEiqKdc+dGwCaKYdIXN5QIQxFPF7cRckx+QtmDWN+zZksyJrrWd/SW8c/sJ/xQELPL1Iv sbPkZPSL8LuWZLjs31Y/2P/xhXkkLVXiEg4r3W9h+huikP47iFDfAnprDQrCig6nZz6B/P hH69HfcN7oUDhYgfruTtvyegiUPg/D6SjR+eiFU4InDLsrhG7CsZ1MaeKIFcauFkRwelaE bvZN0sfMiDMCiHNl/pOcuXrwOUqKxYaEMUHoY7eLl3Cm69TBBmJBSt6vhGyGSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=htQZooDq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682313002; a=rsa-sha256; cv=none; b=nhRYMq+sXbqUK14kR79tEbIbKu8D+6QyWGYMHgtoU3TAd4qjz896XBdq367hUnvUYYe0hY RBi58MFJmnaDpB0meRoWU+tQgzQJlyev5o+oPFkwqqg/gJK2QSuv1KPSS6f2OIWPzC/HF0 nNz/4ZnuXqRwwSnaCWicqMqG/HBZ0acXbinR7bUir++pjnnn92KGBVPRWVIHOyzfkzwNpt Socd72TuuUerwAKEg5L9jygoPzb83C29oFyRTDMZvcrItMBqHnxmQMdmw0oftP6WHSnMkD Krj31aaF+e+ytFlCwlJpA5M1bMsBkXqAhvjHgA6HU7CS9x3XKgdh3xc7mAT/+Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqnUh-000562-DL; Mon, 24 Apr 2023 00:08:03 -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 1pqcQ0-0000TU-0a for help-guix@gnu.org; Sun, 23 Apr 2023 12:18:28 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqcPy-0004PT-2k for help-guix@gnu.org; Sun, 23 Apr 2023 12:18:27 -0400 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-956ff2399c9so549005366b.3 for ; Sun, 23 Apr 2023 09:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682266703; x=1684858703; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Qpk1L/4aaO1BYHi/oI/ZmZ1GN+a0wK/PTRpXhWnZ6Uk=; b=htQZooDqy65mYngKefL4kTZFNL5POSQuq3yqfLOyI0IiDIMppvw5LsyDthpBT4iTgz ywomH4RXES0/72mRipFWAyw7cIDPrIO2idlsQk5OUzfs/4H36F9Ko80oQBctaZ8mUtcw G8SYbsuEjv43/gFpPz4EpU5e0LpoZIaHp5XKfvHdu8nAigysrw8tJ6NGGTpvo6i2WAFH PjPAQCgZti7QO8a8M4bC3h0FxZ7uTGHHLpA8HFyg0N5FN3ZRNz3OBltm5bhXumSSxYyg Cixpv7dGz+9M/0kMXHr0RrtQfEKsxx/CW7OSHesiep6Rhhno332qzWfzFUcjiB/no1zW C5sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682266703; x=1684858703; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Qpk1L/4aaO1BYHi/oI/ZmZ1GN+a0wK/PTRpXhWnZ6Uk=; b=VxgQJE51FaphrDKQI9oNgkdJikTh1i610IDDz4ibhJahGT+bKA3vInCr78yxgNToCQ /kX+loLttMSXVtkSVWdCFUNRhNegrtQlb223/Gr8OdWZI6MY6NuVUzy6HabLJFSleLd8 M2nz1hezlmKRKjQ6NXijGU/84zjT1Wm060PLCTp83QI0WI6ky2JBKTFaV5L62lKfXnLL ctQ0lxA8FLHZ/i257TxdjRi4JBSYgpSfq8SqljAsV1nDwVSQ+io82+vomPdDR2vcqXJg dA0/03SmFBIBU3w4kkS8x/9XNbYMglC2DzrjVF+vHZwquLUlbv6yjJRIJg7EowKDGaNS 8G3Q== X-Gm-Message-State: AAQBX9dwG/Ll95MDw4B2eGmKJZZGAbQWJ9YRtu+fzVKnuAsuHItQHhzp SXX1OEaVoQhOjGZbM8DXV2gvA0IFSrN7U+yiZ+C8ayjpLInFyg== X-Google-Smtp-Source: AKy350Y7e4p3CMmv1muCn57FXn5HNfg+bvnF7E8RtvNazcRarMl4oVOJZIM0e4DsToyUCrjXlbTUZU709XWrsXMmD0o= X-Received: by 2002:a17:906:3698:b0:958:5c21:3fa7 with SMTP id a24-20020a170906369800b009585c213fa7mr3065674ejc.25.1682266703151; Sun, 23 Apr 2023 09:18:23 -0700 (PDT) MIME-Version: 1.0 From: Timothy Washington Date: Sun, 23 Apr 2023 12:18:11 -0400 Message-ID: Subject: Howto supply cargo-build-system dependency to guix package definition To: help-guix@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=twashing@gmail.com; helo=mail-ej1-x62d.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, 24 Apr 2023 00:01:55 -0400 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-Flow: FLOW_IN X-Migadu-Country: UNKNOWN X-Migadu-Spam: Yes X-Migadu-Spam-Score: 9.24 X-Spam-Score: 9.24 X-Migadu-Queue-Id: 206873A085 X-Migadu-Scanner: in3.migadu.com X-Spam: Yes X-TUID: SP98nibgNFrI Heyyo, I'm new to Guix packaging here. And am trying to build RustScan as a Guix package. This is my definition, which uses the "cargo-build-system". (define-module (guix packages tmp rustscan) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system cargo) #:use-module (guix licenses)) (define-public rustscan (package (name "rustscan") (version "2.1.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/RustScan/RustScan.git") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "042jb4psvs6fj0abxsamza8rnbmc6r7yxygg42q6qjyl8cp2k6rk")))) (build-system cargo-build-system) (native-inputs `(("rustc" ,rustc) ("cargo" ,cargo))) (inputs `(("ansi_term" ,ansi-term))) (arguments `(#:cargo-inputs (("ansi-term" ,ansi-term)))) (home-page "https://github.com/RustScan/RustScan") (synopsis "A fast port scanner written in Rust") (description "RustScan is a fast port scanner that utilizes the Rust programming language to scan for open ports on IP addresses.") (license gpl3+))) However, I'm getting this failure when I try to build. Basically it can't find a reference to the ansi-term dependency . guix build -L ~/dotfiles/ rustscan ice-9/eval.scm:223:20: In procedure proc: error: ansi-term: unbound variable hint: Did you forget a `use-modules' form? How do you supply the "ansi-term" Cargo dependency , to this guix package definition? Tim Washington Interruptsoftware.com (647) 283-2856