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 ms5.migadu.com with LMTPS id mOjtJwm2c2PLtAAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 16:53:45 +0100 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 8EviJwm2c2My5QAA9RJhRA (envelope-from ) for ; Tue, 15 Nov 2022 16:53:45 +0100 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 51FC829311 for ; Tue, 15 Nov 2022 16:53:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouy3a-0001Y0-Fw; Tue, 15 Nov 2022 10:41:02 -0500 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 1ouy3M-0001W7-ME for guix-devel@gnu.org; Tue, 15 Nov 2022 10:40:53 -0500 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouy3I-0000sk-Um for guix-devel@gnu.org; Tue, 15 Nov 2022 10:40:48 -0500 Received: by mail-io1-xd2e.google.com with SMTP id r81so10949578iod.2 for ; Tue, 15 Nov 2022 07:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jGWeIBJADtnqAQqRY/ybOh8SkaTFS7uOWfsxAKm+oV4=; b=CxOmnvXp3PmwVmOo75Q5ydf7X3cgJUP7OI01bEEfT/UnANnKX1sld5LXKgltJBePu/ M8e3NT4LlYLAFr+OoJJCUZ50puFXb+MIHDltQsD4KDXSLPhBBHeishY66FEXEvfon79E Fg/pJ3rVbckMsHsOUf9Ms5HSpRIu3TfwW5VbNigsRdcR+EVHEqSFAh2Zn7J1VTEIGxMf aBgZwAajI12mUDcozx0V2OjOzFvMPzj63tIhZp2SMfO578GgbiILIFQbMKXIw0mVAGUE e36a6aH901G5vxnB6O9a+0fdH5pk+aHmb6JrKvDZQo+nx6niPADVjiRYKaH5Q2evQuJW 8prw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=jGWeIBJADtnqAQqRY/ybOh8SkaTFS7uOWfsxAKm+oV4=; b=7aWo978R7TyDVaPw6/BJgQo02bgNDt1U9mOq46c8JMcDGmZtGg/iFmqkpoNPoKu1Qh WiY8Nu9Xt5OSqIYnvEu6Rc8h93a3zPhU6hsqWs9Vqs1FNbSPnrkEAQi1TE68lB2szaTy fVwtlL/wRCFswsM0/+MirHa0Gt9yEjSA9asCAipeVnbFQxgoT8jwIBXCfzxveI27f4tI +mY5pWWtBmFjVaGejEL0SnaiXmF3cYczGMGiaR8LKTrmOoR8ecdca5S+dZk6dRX7sPNa xca7GgBGaC4TAjposzNofdzjjz1hMftFI+d92cuwP4ALsP5XQ/zV3xnHeGCS3HUAcb2v P57w== X-Gm-Message-State: ANoB5pleXA2elq0/9t0v+QvqoONwoyZrnUXFuSv51kBQsziQW8y1jYu7 z+kQcqNGmxoIYBQ0lCzsjqi1RJyByFITWKKZumT1Fbwg X-Google-Smtp-Source: AA0mqf6PHVU3PyXAU+L1v6+LrZFUPkZ2kbj4jnukcGFnHddClrv/PvIrrsioLeyMuplwo7CsBdNlzqb7/vgYpzvdtMo= X-Received: by 2002:a5d:9441:0:b0:6bb:f826:cf78 with SMTP id x1-20020a5d9441000000b006bbf826cf78mr7886217ior.216.1668526841959; Tue, 15 Nov 2022 07:40:41 -0800 (PST) MIME-Version: 1.0 References: <331E65BE-81A7-4484-9B10-DC2021979D25@lepiller.eu> In-Reply-To: <331E65BE-81A7-4484-9B10-DC2021979D25@lepiller.eu> From: Andy Tai Date: Tue, 15 Nov 2022 07:40:05 -0800 Message-ID: Subject: Re: Fwd: question on setting up guix.scm for project development To: Julien Lepiller Cc: guix-devel@gnu.org Content-Type: multipart/alternative; boundary="000000000000b698ef05ed842d4b" Received-SPF: pass client-ip=2607:f8b0:4864:20::d2e; envelope-from=lichengtai@gmail.com; helo=mail-io1-xd2e.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668527625; 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=jGWeIBJADtnqAQqRY/ybOh8SkaTFS7uOWfsxAKm+oV4=; b=Ad3iEOYuEnSBKdvXKTjUIpfuHnvPUfxnVsXEKoJR9iY8FxDiXWLvrHtYsSYPhqLK7N9cIc 9zDJ9sCjgUDJh8yLux9fAeQiZoS6u4a/shUWpO6eq173IkLIS5Y8cc8R+yh3L4XW2if7uE 8g3GMeMiOBwXycHpyRQWLSnXIBnFKXU0zhCFdTameUX9w1Nmy4iDOdd7uDr4d09rqQb47f 6z59Gka5B6wT8fE36yRhzQ1cjwzD1Aly6i2soFHtU191eqn/s/jr3nySefKuT6T7cK8XwV DJ//cNcEcGGnLkP8lbZ2s9Hq8WBOz8BqoaSaDpSLhQPSYyfT4GXky3jTu3MSyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668527625; a=rsa-sha256; cv=none; b=qWdpbCEVvRPM1MGAg/foljbixnLoc4dsk2hbpso4RQxgFe2Pun7qmF2JsE5KcvbMYtZxSR qbh9z7MU83QforfFEx9563wOJt3r5SNHcTcfxan32uEfHNR3kim3wusqCEhwojL+UTaORy +iL6X/4dAuaWOPtDPPMkcuxUu4/1G+OcAWtKL+4Kx5KbDI/ljn+Et/ICwXPwfYuDajq3QQ Op4tHIERNC40vqkAoTKqHnXZROZmuAVY9/RGGV2n9MqD3sPv2JlbiPSbawaMrQm8FvAYuY zz9F8FOkieQ2MEwuEuKTCW+BwMS+6fRDpl86j3V+kAEl5xz/j/1vmgbWlr10lQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=atai-org.20210112.gappssmtp.com header.s=20210112 header.b=CxOmnvXp; dmarc=none; 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.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=atai-org.20210112.gappssmtp.com header.s=20210112 header.b=CxOmnvXp; dmarc=none; 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-Queue-Id: 51FC829311 X-Spam-Score: -3.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1zhxyHNthip8 --000000000000b698ef05ed842d4b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, thanks. guix shell -D -f guix.scm did work for me.... I did not see d2 0.1.4 from guix package --list-installed or guix package --list-available but pkg-config --modversion d2 did show 0.1.4 So it is there, in this guix shell. Thanks for all the replies to this question. On Mon, Nov 14, 2022 at 10:15 PM Julien Lepiller wrote= : > I think you got it right, I've used thas in the past. Maybe your cli > options are out of order? Instead of -f -d, try -D -f. Do you even have d= 1 > or d3 in your current shell? Could they come from outside? > > Le 14 novembre 2022 19:41:58 GMT+01:00, Andy Tai a =C3=A9= crit : >> >> >> ----guix.scm--- >> (use-modules (guix packages) >> ....) >> >> (define-public d2-0.1.4 >> (package >> (name "d2") >> (version "0.1.4") >> >> ... >> ) >> >> >> (define-public my-package >> (package >> (name "my-package") >> (version "0.1") >> ... >> >> >> (input (list d1 d2-0.1.4 d3...) >> .... >> )) >> >> my-package >> >> ---end guix.scm--- >> >> --000000000000b698ef05ed842d4b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, thanks.

guix = shell -D -f guix.scm

did work for me.... I did not s= ee d2 0.1.4 from


guix package --list-inst= alled
or
guix package --list-available
but

pkg-config --modversion d2

did = show 0.1.4=C2=A0=C2=A0 So it is there, in this guix shell.
<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ">
Thanks for all the replies to this question.
=
On Mon= , Nov 14, 2022 at 10:15 PM Julien Lepiller <julien@lepiller.eu> wrote:
I think you got it right, I've used th= as in the past. Maybe your cli options are out of order? Instead of -f -d, = try -D -f. Do you even have d1 or d3 in your current shell? Could they come= from outside?

Le 14 novembre 2022 19:41:= 58 GMT+01:00, Andy Tai <atai@atai.org> a =C3=A9crit=C2=A0:

----guix.scm---
(use-modules (guix packages)
= ....)

(define-public d2-0.1.4
(package
(name "= d2")
(version "0.1.4")

...
)

<= br>(define-public my-package
(package
(name "my-package= ")
(version "0.1")
...


(inp= ut (list d1 d2-0.1.4 d3...)
....
))

my-package

---e= nd guix.scm---

--000000000000b698ef05ed842d4b--