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 aK6kNWzCc2P9cgEAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 17:46:36 +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 aPaYNWzCc2OR1AAA9RJhRA (envelope-from ) for ; Tue, 15 Nov 2022 17:46:36 +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 9F2A82B32F for ; Tue, 15 Nov 2022 17:46:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouz4p-00076W-Pc; Tue, 15 Nov 2022 11:46:23 -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 1ouz4n-00073k-4H for guix-devel@gnu.org; Tue, 15 Nov 2022 11:46:21 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouz4h-0003nL-Tw for guix-devel@gnu.org; Tue, 15 Nov 2022 11:46:20 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id ef908cbe; Tue, 15 Nov 2022 16:46:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=W1USYoLbtw9z Y88ws4VDNFwNTsA2iFn/yhErOG5fgK0=; b=myB5BZFyFTfHjTE0iSVbw8pDSYo5 +ZXFq/gI8ww1nE2w2DxtlrC2sKwBBcFIRcXX6VjeoyAI34WWi268KlOr0AIcw11g WV1QmtP6elP9zLqs8e1GUJXn+UlEmyyYyAi3oJtvqmkwvHMM2dHA7U2yhNQdoXfg Y7gvGlaXkk7Hb9wnA4CQKBHQqbFoKBX1tJa2+cAnvV1Lq/Zj3q5OszrfWOsMDogq z5P8RGsg4A3r5WFFfVpO9Y0mGjb9CAk47+I8O1xpGA9HNTUefecAwRQ+n9QNPkXm OQBbFeEJxDW2pP75ms1sw89JhqX0T0dzpgMaooIHmpNJO7REGJLHJkJR8A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 2a453a36 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 15 Nov 2022 16:46:10 +0000 (UTC) Date: Tue, 15 Nov 2022 17:46:05 +0100 From: Julien Lepiller To: Andy Tai CC: guix-devel@gnu.org Subject: Re: Fwd: question on setting up guix.scm for project development User-Agent: K-9 Mail for Android In-Reply-To: References: <331E65BE-81A7-4484-9B10-DC2021979D25@lepiller.eu> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----AEI9QR7JSZ3AZBVZGK86PKTAKBVNPB Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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=1668530796; 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: 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=BPHtKUaAXsnG8Igvv/3m9LPNnAgdagWP8H2RGcq095E=; b=eViiIj5WIbPB91OIuRmDwn48GimqUX+CzGvfk0QwVY+N72JjO1WCY0NMqsMoyVSKJdm+rS GdrLzaQeFRgzxs1ap/f9NcU+9xVtGkQaLCVaE9h7uaFATZ/ZgPGJ0tGSqXmCz4vKG10tEt W3mbPL8MXFYeLbVs8n1NMrOaTnjWitmVKLfBhxBZA+uZ3iKWj0XdI942FgIiu95gZCu45i 2tSkoK0j7mkkrb6xWUS3101NhrDmRsElI47NrH2aN70Se+ZFSRt2q+kru6lAYzcgxsKZu5 EtVTtPUIvLtcQF6DNpDPZFaw2gSIIc1vyljMAb8xAwbAzSxnKDRd6q8M3AGsiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668530796; a=rsa-sha256; cv=none; b=EbpGiHk90KD7Kmgi21Y27MLWCb93BkWhjHwJUEvFb2KD6EahCJ/HaMbYQS0N9iQeRH758j jfToApWiSga+MW+UBNSRi1yQYBrgBuuUq6V9cePfIKaUxqbu8NZnqmr0N2PMJT52xxmPPF C1gxOli8TeETXaCnm18bsE9CBSO+Y13AdhsBukolSlrtcEGbDDihQ6M7Le5iYWnXH9BirX HOsWxHVAkdc4X86yNZOwL3t6ubmHhWpyfT/OpzVM+H9WT4+xWBZPDAWny5cEw6kl2Cz9GZ NeCgMEStluH3X4s7LSNySXicLS/RK/37Eej01MKoTYgRh3Vc6WOXSXD9aw+yMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=myB5BZFy; dmarc=pass (policy=none) header.from=lepiller.eu; 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: -9.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=myB5BZFy; dmarc=pass (policy=none) header.from=lepiller.eu; 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: 9F2A82B32F X-Spam-Score: -9.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: pe0y5Fu1eK13 ------AEI9QR7JSZ3AZBVZGK86PKTAKBVNPB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To be clear, guix package always operates on the list of installed packages= in your user profile (~/=2Eguix-profile), not packages from your environme= nt=2E Don't rely on its information to look at what's in a guix shell :) Le 15 novembre 2022 16:40:05 GMT+01:00, Andy Tai a =C3= =A9crit=C2=A0: >Hi, thanks=2E > >guix shell -D -f guix=2Escm > >did work for me=2E=2E=2E=2E I did not see d2 0=2E1=2E4 from > > >guix package --list-installed >or >guix package --list-available >but > >pkg-config --modversion d2 > >did show 0=2E1=2E4 So it is there, in this guix shell=2E > >Thanks for all the replies to this question=2E > >On Mon, Nov 14, 2022 at 10:15 PM Julien Lepiller w= rote: > >> I think you got it right, I've used thas in the past=2E Maybe your cli >> options are out of order? Instead of -f -d, try -D -f=2E Do you even ha= ve d1 >> 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=A9crit : >>> >>> >>> ----guix=2Escm--- >>> (use-modules (guix packages) >>> =2E=2E=2E=2E) >>> >>> (define-public d2-0=2E1=2E4 >>> (package >>> (name "d2") >>> (version "0=2E1=2E4") >>> >>> =2E=2E=2E >>> ) >>> >>> >>> (define-public my-package >>> (package >>> (name "my-package") >>> (version "0=2E1") >>> =2E=2E=2E >>> >>> >>> (input (list d1 d2-0=2E1=2E4 d3=2E=2E=2E) >>> =2E=2E=2E=2E >>> )) >>> >>> my-package >>> >>> ---end guix=2Escm--- >>> >>> ------AEI9QR7JSZ3AZBVZGK86PKTAKBVNPB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable To be clear, guix package always operates on the l= ist of installed packages in your user profile (~/=2Eguix-profile), not pac= kages from your environment=2E Don't rely on its information to look at wha= t's in a guix shell :)

Le 15 novembre 202= 2 16:40:05 GMT+01:00, Andy Tai <atai@atai=2Eorg> a =C3=A9crit=C2=A0:<= blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0=2E8ex; bord= er-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi, thanks=2E

gu= ix shell -D -f guix=2Escm

did work for me=2E=2E=2E=2E = I did not see d2 0=2E1=2E4 from


guix pa= ckage --list-installed
or
guix package --list-available
but

pkg-config --modversion d2

did show 0=2E1=2E4   So it is there, in this guix s= hell=2E

Thanks for all the replies to this qu= estion=2E

On Mon, Nov 14, 2022 at 10:15 PM Julien Lepiller <julien@lepiller=2Eeu> wrote:
I think you= got it right, I've used thas in the past=2E Maybe your cli options are out= of order? Instead of -f -d, try -D -f=2E 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=2Eorg> a =C3=A9crit&nb= sp;:

----guix=2Escm---
(use-modules (guix packages) =2E=2E=2E=2E)

(define-public d2-0=2E1=2E4
(package
= (name "d2")
(version "0=2E1=2E4")

=2E=2E=2E
)
=

(define-public my-package
(package
(name "my-package= ")
(version "0=2E1")
=2E=2E=2E


(input (lis= t d1 d2-0=2E1=2E4 d3=2E=2E=2E)
=2E=2E=2E=2E
))

my-package<= br>
---end guix=2Escm---


------AEI9QR7JSZ3AZBVZGK86PKTAKBVNPB--