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 MOfaFwKlZ2TR3wAASxT56A (envelope-from ) for ; Fri, 19 May 2023 18:34:10 +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 UH66FwKlZ2Q/EgAA9RJhRA (envelope-from ) for ; Fri, 19 May 2023 18:34:10 +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 12D782DD35 for ; Fri, 19 May 2023 18:34:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q032o-0000Oi-FZ; Fri, 19 May 2023 12:33:30 -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 1q032X-0000NY-8O for help-guix@gnu.org; Fri, 19 May 2023 12:33:21 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q032V-0000X7-22 for help-guix@gnu.org; Fri, 19 May 2023 12:33:12 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f42b429290so4682465e9.0 for ; Fri, 19 May 2023 09:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684513989; x=1687105989; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=cNntXahjlrl/zWKk17ZM5nfySBfccXX5MUf48psn0mk=; b=c0+Gq0l+wv6twwoLCO/HrLbWBHUpNVbJNsVoFqruWFPqRlEFb/D2gHIbAxgEzGBPFb ArtE6op5YNCYRYz0d2obZ0quYU4bUqJDpkn4D8MVs6rSVk2l5UBzWlSZDDcK4HyiNt1F xP21Y6cN10rdSj7QLrjWZg94I0sBWmF4Q9//urrB35xRBXmfeCXd3jQ+phEnf6h6iYKm mJmqLbSyajqA8PPau+qohktoRhSMWDjtjHv7ug3pco1hog7l4fbQt7hFurWG6gqCjwhS M6DpJSQ0BsdjQ0bvo0wUOKTkVj4l06snWOAqVxicpprM1PybXccN1k3I7fEHw0lEagj5 BlcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684513989; x=1687105989; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=cNntXahjlrl/zWKk17ZM5nfySBfccXX5MUf48psn0mk=; b=biS3XesYzvrgaIuy28zBokxVONDsTVpA88i3Tp3GY0jV8GfZUgPwxTUbJvko69E8z/ qGUbgNj5IiEGnSwsvpvumqDlq/EXQzzJtpkmaE/Q8pkebQ2FddmHnRZIvwU4CYM1LY2D vwICAIVvLkbuvz4nlhyTr51Ut8qec6PQqyauBWvO2QXrKY6I8CKY47U9E72tZCsQJE5y AZAdqqMX+exSoRvWmD2Gnj2Le34flQox6at4JoER7o+QSOOp4ZzmBlDXZ+hND6iiVcRo D6UImF+hf+jp9tnV3KpIZR/OZgQuscNMBcDP2gvcnVrarvkimzWbdQZS83yU94vzONyH Xk/g== X-Gm-Message-State: AC+VfDw22BERFyAINKJXs0xFM/Yp70GRTafL2Addre7zecFVboqlCfZp iWtlzY6RjSS2NUlcn8KMdIFJoUeOcow= X-Google-Smtp-Source: ACHHUZ7/hsU9AfWvA3i8yPVbxVwHYI27CeDGODCvti9S17qqHZGzAw4JOSc/taqGpdnk2OHhQYrowQ== X-Received: by 2002:adf:f7c2:0:b0:309:5a92:a4d5 with SMTP id a2-20020adff7c2000000b003095a92a4d5mr873090wrq.2.1684513989123; Fri, 19 May 2023 09:33:09 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id z17-20020adfec91000000b002e5f6f8fc4fsm5854751wrn.100.2023.05.19.09.33.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 09:33:08 -0700 (PDT) From: Simon Tournier To: Timothy Washington , help-guix@gnu.org Subject: Re: Howto reference a custom package from a manifest In-Reply-To: References: Date: Fri, 19 May 2023 18:15:08 +0200 Message-ID: <875y8oz4ab.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.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, 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-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684514050; a=rsa-sha256; cv=none; b=PctDAyuUsEFij+kfdrUhrCXATR+zg55YSt9fFUSfumH/4c1tu2LrHtxERaPwinpI0TqtGC bkDG7KpcIattV2u7JewLDP2dD/R+HFASVvYr93ZzdgapIxjoj/oLQeZcY5qQu4E0zKkTn9 cE6cD9yhpBzueNzbSp67oys0TGQsLWMNimBGyJ3MNxOEtzGqRyFvhKOuJKgcnJRn+QwcJZ 88vnRvZDb6Xbdoga+/Lm4bNOJgtajzuZnLTwX3Q9jqO8dePl3vrB4WfoCaeFWM6bLJwn5P LrDjVX/Gnx2AL/nxNU+yxYEzp7wes8daSzU0FQaQLsgMKgDQdJkp4awQDd1vFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=c0+Gq0l+; dmarc=pass (policy=none) header.from=gmail.com; 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=1684514050; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=cNntXahjlrl/zWKk17ZM5nfySBfccXX5MUf48psn0mk=; b=uajnZF5rIGehfdvXot75GFlScNbqBdCReBXJBtzkXUqz41vqkkUoKA/EjxSCyXpQu3Y3Ct fMeQwPh2TFmkKHQoYjwD7xxAZxYKe9NNLpH0x2wivxzxfLPq7+zUCYINzXptAR2pjbf+4k DLz44L6MRg/7fWMC2KIqQICFgFF7CT93I1ejL0zbCCAoOFuYr5emto+YIOiuV3PhEZca2s /EOcdQZ752ojMZHGj/YrasyKvz0VmoJxCEF+khj9B8Mfkr4Gz2Ar+MYqPaz+Vd46qfcGf6 gbRdIoe6AyrHTAx/U0WGwPqHx2/6P0jGWJPY/cU+PO6UzNnN3MDdDW1eXgDU0g== X-Migadu-Spam-Score: -6.78 X-Spam-Score: -6.78 X-Migadu-Queue-Id: 12D782DD35 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=c0+Gq0l+; dmarc=pass (policy=none) header.from=gmail.com; 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" X-TUID: w5YMmEFlrURb Hi, On jeu., 18 mai 2023 at 02:51, Timothy Washington wrot= e: > It's definition is > (define-public rust-rustscan-2 > (package > (name "rust-rustscan") > (version "2.1.1") > ...)) > > But I'm getting a failure when trying to reference it in a local profile, > using specifications->manifest > > A. How do I get more detail on the error, in order to troubleshoot. --deb= ug > isn't yielding anything > > B. How do I make rust-rustscan (my custom build of a rust package), > available in a global profile. Well, from my understanding, the failure is because Guix is not able to find the module where your custom package is defined. And you have various options, I think. 1. Via the option --load-path 2. Via a channel a) Using =E2=80=9Cguix pull=E2=80=9D b) Using =E2=80=9Cguix time-machine=E2=80=9D 1. Let say your custom package is defined in a Guile module located to path/to/your/custom/package.scm, then, guix package -L path/to/your/custom/package.scm \ -m guix/packages/manifest.scm should do the job. Give a look at: https://guix.gnu.org/manual/devel/en/guix.html#Package-Modu= les 2. If this path/to/your/custom is turned into a Git repository, i.e., a channel, then you can add to some channels.scm file and then run: guix pull -C channels.scm but I suggest instead to run, guix time-machine -C channels.scm \ -- package -m guix/packages/manifest.scm Last, you can put this channels.scm under ~/.config/guix and then =E2=80=9C= guix pull=E2=80=9D will load automatically. Give a look at: https://guix.gnu.org/manual/devel/en/guix.html#Channels Hope that helps, simon