From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IBKFKjmg52AHXgAAgWs5BA (envelope-from ) for ; Fri, 09 Jul 2021 03:02:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YHgpJjmg52DnOgAAbx9fmQ (envelope-from ) for ; Fri, 09 Jul 2021 01:02:49 +0000 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 DD5C519029 for ; Fri, 9 Jul 2021 03:02:47 +0200 (CEST) Received: from localhost ([::1]:47026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1euk-00062I-Pg for larch@yhetil.org; Thu, 08 Jul 2021 21:02:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1eub-000626-RG for help-guix@gnu.org; Thu, 08 Jul 2021 21:02:38 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:39262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1euZ-0001gQ-Mn for help-guix@gnu.org; Thu, 08 Jul 2021 21:02:37 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 02d899a9; Fri, 9 Jul 2021 01:02:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=kJA+m+kWGm3Z jpEs+4pEgFUJKxn3sosGNbtCyiFcGeI=; b=hMOUqT0potqGDyWM+3YrfV7riNWo p2sW0n4C1TAtVnhXkqD77EMo3+V7hcBy2JcCC5esU431cy/mh+GoqkRPVZHC0CnH crL3gQW24e0f9sJauID+NRAEp+CBHlxbcj7ZjUFEYQQsyD8aDDUstv5WfZZoQPxN ONkD93cErwBuj3vjZauHNhwio2GVroop+sIVDiW/Yh8v3qOxaTL55QwZPWQ/0qr6 SAYR8JerpXwHiNoIHpoHrXZe34tFsxRO+T6qI8JJSfYwkaPGUD9eNPOm3DvAgveW rIDh6hWUIedP5h0vtnjGXtjyk/+3T1vSBk4rWTnHJ2zHKt9JkIRBds+6hQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 3b897644 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 9 Jul 2021 01:02:25 +0000 (UTC) Date: Fri, 9 Jul 2021 03:02:12 +0200 From: Julien Lepiller To: info@labsolns.com Subject: Re: successfully(?) installed package but it can't be found/used Message-ID: <20210709030212.0c058ee4@tachikoma.lepiller.eu> In-Reply-To: <20210708093512.Horde.Jjc5tUsiF-7s-m0PhSJHUkt@labsolns.com> References: <20210708093512.Horde.Jjc5tUsiF-7s-m0PhSJHUkt@labsolns.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625792568; 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=j3woKdV81maiToCd5cECYv1cYaFVqMZAOL9/7JdQG50=; b=pLzv3E778qVO5I5jZeZLNBqOxLzu8yVb6Zf/1W58iEiAJ+EBq6vFFWQAwLMFORiA9wSIbX DYhOIa4m3I/R0cEAlPtkgnTPzNfLnUPUzi9McVEmBDTYrk5+W0HX/C2s2b0L3x+9iLfFok RIS0suqdRzCbUbHBrwMz4MShOGbw1ufNQKOizh6ollmVxYMaSoq2ZLpQntc3yF4gtoJF47 FnlVS/xrZYlaVSkWJ/C62N3eSRrX2GSyKZFJc7zQq+81ibujlBFzJdtaYfc+Np6iF+6gqd CJfAW63MibaIdcAPqS2Q9nA4J79WAtRqjoZiS16ypd+yJBNwTmC9znA/wq4sBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625792568; a=rsa-sha256; cv=none; b=RPaZm8B0AOJHArYi5Y4Ah2CVN5t+412Nn1fJb3yXM/pd4SUHdc+kVRQjZw6pyFKGzLpd/7 TMYKPuiYStzV8Nif9W5YedBtZwnVV9BrII5yyYbKQe61KGcxB88fLYeji9+DsAAwZKRpS7 WHG0eFgfTJBiLfOGirbenwg0fzxrMfSyckRQ5KS6xbqGMP8EwjHPp3vwaV+8cWU32CP5lU wgf5FWGB6sg5MYOxlx2t5pdCPRa4Yul0p0pOJzsVBhRYNJh84XD/uO9si79NOo8tW7X9MF 2wav/eUXTUgiomh5AvDlx9Oj0iAGTtchDdBLycGIw9dQmS6guF3yE+sW3/I49A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=hMOUqT0p; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=hMOUqT0p; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: DD5C519029 X-Spam-Score: -3.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2nScCozUZt/H Le Thu, 08 Jul 2021 09:35:12 -0500, info@labsolns.com a =C3=A9crit : > Hi, >=20 > I would like to install Artanis v0.5 into my store. I see the patch =20 > https://issues.guix.gnu.org/46885#0 and incorporate the changes into > a local guix.scm (pasted at the end of this message). I do not change > guile-xyz.scm. The install seems to complete without error: >=20 > $ guix package --install-from-file=3Dguix.scm > guix package: warning: Consider running 'guix pull' followed by > 'guix package -u' to get up-to-date packages and security updates. >=20 > The following package will be upgraded: > artanis 0.4.1 =E2=86=92 0.5 When you do that, it temporarily (for the duration of the command) add the new artanis to the list of available packages guix knows about, so it can install the new artanis. >=20 > However when I search for artanis: >=20 > $ guix package -s artanis > name: artanis > version: 0.4.1 > outputs: out > systems: x86_64-linux i686-linux etc. etc. Since the package was only available temporarily to guix, it can't find it anymore. You'll have to use the same file everytime you want to refer to the package. > If I search the store there are many artanis-0.5 files, sample below: >=20 > $find /gnu/store -wholename *artanis-0.5* >=20 > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/mvc/view.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/mvc/controller.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/irregex.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/ssql.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/fprm.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/third-party > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/third-party/csv.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/debug.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/commands.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/page.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/lib/guile/3.0/sit= e-ccache/artanis/artanis.go > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/bin > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/bin/art > /gnu/store/6l81w3hcw6s4jn7nic0bh096nvql0ffc-artanis-0.5/bin/.art-real > /gnu/store/b6g0wiw56gqjsj6ik9g53g5q9npwzkv8-profile/share/doc/artanis-0.5= ....... You installed artanis before, so no wonder the result is in the store. However, note that a store path is not the same thing as a package, it's only the result of building a package or something else. >=20 > If I try to create an ad hoc environment: >=20 > $ guix environment --ad-hoc artanis@0.5 > guix environment: error: artanis: package not found for version 0.5 again, you'd have to use the file so guix knows about the newer artanis package. However, with an environment, you'll need something else, because the best you can do is using -l (to load the file), and that creates an environment with the *dependencies* of the package specified by the file: guix environment -l guix.scm would give you all you need to *build* artanis. My suggestion would be to change guix.scm into a manifest: (define-public artanis ...) (packages->manifest (list artanis)) then: guix environment -m guix.scm HTH!