From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 oPutKUHTfGRTPgAASxT56A (envelope-from ) for ; Sun, 04 Jun 2023 20:09:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0GnEKUHTfGQvvgAAauVa8A (envelope-from ) for ; Sun, 04 Jun 2023 20:09:05 +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 4B08D29382 for ; Sun, 4 Jun 2023 20:09:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5s9W-00035o-Rp; Sun, 04 Jun 2023 14:08: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 1q5s9V-00035c-FJ for help-guix@gnu.org; Sun, 04 Jun 2023 14:08:29 -0400 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5s9T-0002lD-Hx for help-guix@gnu.org; Sun, 04 Jun 2023 14:08:29 -0400 Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-3f8008cb772so34109501cf.3 for ; Sun, 04 Jun 2023 11:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685902106; x=1688494106; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fGl+9uIolb8snOrEvwTedbTVGC0oHGCebo043vp9Pr0=; b=mn1MeXQSH0SIjvGiBwvANaI3v3LJQaYHyD75bNKwPvoDiOEN3p0QAWIhhFgpSwY35o VPQitt7MHYVSN6f6xz0DsHdF0huanffK4/OFN3NSYKjx/A9ZIGlqe2G97+GZnLMWpOCK 2EYfwC3EPUdkcrSb0SnkfxoBGgdQt1ycUo/nBpJfAYeCy9tEm3er196bxvo0/4GpQCh/ zO+Up+x9X7E2FsUmHajdX4xbJmMUq5T2QFwBnf0s8oCcaxcBjmdO/w6xJwkhiKDVcWDV w9N6woR5u42Weqk7CQybalAmANaV65UDcQU95xj5HlhWbkKSxgexXARx/dTYJ1PqcSKo sYlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685902106; x=1688494106; h=content-transfer-encoding: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=fGl+9uIolb8snOrEvwTedbTVGC0oHGCebo043vp9Pr0=; b=Zayp+qbPB9VjGz6qC2IuVAEfWj4osUwWK2K3GZVGVxG+tIdaNMmDBvLZKavtzUYbmu 4lclM67o7ZPdzliZi+fGcZKabJogdO/0mIPIn3nuduvfpAAcL4FJr5HuC80zSfPSvALF X5QqDZzCZxJU9tVkdCIWdWSwTHKnEc2C65N8xdPS2CCkrKRyv5FAzAZalZPo70CsTu/m iX6J9rKof72YmPH/zJFTD/DWEVgMopr2/N5N6dFTMFxQ5F1PqYDJXSOxw7DlXW5TtQ2C v52cbNWMCOmNTVaKyP5RscjDdS7G8qRh5SFnuOKDzWJ6tjNyL9CE5Yx1SemKGKuama/N ZVuw== X-Gm-Message-State: AC+VfDzyjMHe4DDKKZeQHkDMoj7WyWe28eIXJpRQajgpNGPNooCzvZsy M8luKd0EX4I5EcBDNb1edkzGdQOyeaZIPpRWyBA= X-Google-Smtp-Source: ACHHUZ6JaSVZY+iP+AKAY+MPqKewqJKjqAaKFst4WKu26A7NV793JIDn1IDQ8oMjfH0Rxvj9Jj5v+cSFhhxe6ISnwOQ= X-Received: by 2002:a05:622a:413:b0:3f3:8dff:68fc with SMTP id n19-20020a05622a041300b003f38dff68fcmr6040556qtx.22.1685902106566; Sun, 04 Jun 2023 11:08:26 -0700 (PDT) MIME-Version: 1.0 References: <7991552.5dNDdcOjtd@soren-desktop> In-Reply-To: <7991552.5dNDdcOjtd@soren-desktop> From: Rodrigo Morales Date: Sun, 4 Jun 2023 18:08:10 +0000 Message-ID: Subject: Re: Newbie: Run previous version of Inkscape that exists in /gnu/store To: Soren Stoutner Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::832; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-qt1-x832.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685902145; 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=fGl+9uIolb8snOrEvwTedbTVGC0oHGCebo043vp9Pr0=; b=RbHyV4DTaSVxbuepEfqUFp9mrm5EPM+zSMwwzG8wpkCoZQ/05trpFZBQ5ZFyQaBnX7i+nf OvbbrIzCT7S37AuCRDGBFIUmfr/0LrxQvnQ5qOpqp7ygt8Ks71rcYDOz7h+l5hj9ZIZ8u6 pQMsR6FEJ71e9wweXYI9zD+92lwCZJgwh2BHQOINYUoz211Jzv4X6/XI9NAW2yRSYMme9f nOGCtSqu1E7GvfR9W5cGgGXwefXou9vGfZaaQaFjv4mhncRqxploNa0dkrN/fZIdgXjXBj Dn/9VjSDl340pIYw5BnrGceIL2tpic51Wzst0SNSHn7uhdNVGfmtQ4v9xlcIVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=mn1MeXQS; 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-Seal: i=1; s=key1; d=yhetil.org; t=1685902145; a=rsa-sha256; cv=none; b=k+yigARlCjVdgnyx2uaQjQxbW0Vx0riWm1DkfhIq9J4wpCKOQkpS8/GPSHPVSS7CYX0s/h tNfh2shAdJOhaGmu3Z9jWDftm9BVgqj2y+EVioXzw8ZP9ifoKEV4P6c+7VSwaX86omQkLk +Vd5SuVads3bbZoKasyQ73IduvvG9dq2fqADIH9gu/HBKSzUZ54AdaK1uTd6XvRMRTyX48 khlfMzWdDl6Z4lyYMctlu2KDtgqiRILj8qgKrDcxebccttvltfSr8rrAzUFhVOGYq7w120 X87xMUJ9AHWEjk8K7awzcZ8bHPYNPc670jwTe4VIR3VZJI8uP48t/Z8uf5JKrQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=mn1MeXQS; 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-Migadu-Queue-Id: 4B08D29382 X-Spam-Score: -4.85 X-TUID: 5/MjhlNzdM8D > Each /package/ may specify a simple package name, such as guile, > optionally followed by an at-sign and version number, such as > guile@3.0.7 or simply guile@3.0. In the latter case, the newest > version prefixed by 3.0 is selected. I tried using that notation. However, `guix package -i' was not able to install it. ,---- | guix package -i 'inkscape@1.1.1' | echo "--- Exit code: $?" `---- ,---- | guix package: error: inkscape: package not found for version 1.1.1 | --- Exit code: 1 `---- > It comes from the documentation at > [1]. > Admitedly, it is not easy to find if you don=E2=80=99t already know what = you > are looking for. I read some of the documentation that you shared and I learned that `guix package -i' can be provided with absolute paths in `/gnu/store'. By providing the full path of v1.1.1, I was able to install it. ,---- | guix package -i /gnu/store/qp8msw5js3gdpdlq1r8nxz4frnzc39lh-inkscape-1.1.= 1 | echo "--- Exit code: $?" `---- ,---- | The following package will be installed: | inkscape 1.1.1 | | --- Exit code: 0 `---- Because `inkscape' was installed using `guix package -i' then the binary resides in ~/.guix-profile/bin/inkscape. However, I also have installed `inkscape' using `guix home', so I removed `~/.guix-home' from `$PATH' to make sure that my shell was not using the `inkscape' that has been installed through `guix home'. See behavior below. ,---- | echo 'Before' | which inkscape | inkscape --version | export PATH=3D$(echo $PATH | tr ':' '\n' | grep -v '\.guix-home' | paste -sd ':') | echo 'After' | which inkscape | inkscape --version `---- ,---- | Before | /home/rdrg/.guix-home/profile/bin/inkscape | Inkscape 1.2.1 (9c6d41e410, 2022-07-14) | After | /home/rdrg/.guix-profile/bin/inkscape | Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20) `---- As you can see above, at this point, the binary `inkscape' is able to print the version number. However, when I try to run Inkscape with no arguments, a window with a button "Close" and a message "Inkscape encountered an internal error and will close now" is opened and some messages are shown in the terminal where I run the command. See [1] (I'm not pasting it here because it is 198 lines long). [1] Am I missing something? On Fri, 2 Jun 2023 at 22:31, Soren Stoutner via wrote: > > I think the following is the information you are looking for: > > "Each /package/ may specify a simple package name, such as guile, optiona= lly followed by > an at-sign and version number, such as guile@3.0.7 or simply guile@3.0. I= n the latter case, > the newest version prefixed by 3.0 is selected.=E2=80=9D > > It comes from the documentation at https://guix.gnu.org/manual/en/html_no= de/Invoking-guix-package.html[1]. Admitedly, it is not easy to find if you= don=E2=80=99t already know what you > are looking for. > > On Friday, June 2, 2023 11:48:45 AM MST Rodrigo Morales wrote: > > The /gnu/store of my system contains two versions (1.1.1 and 1.2.1) of > > Inkscape that are already built (see last two lines below) > > > > ,---- > > > > | find /gnu/store -mindepth 1 -maxdepth 1 -name '*inkscape*' -exec du > > > > -hs {} + | sort -h > > `---- > > > > ,---- > > > > | 4.0K > > | /gnu/store/500rmmh2b0m4abmhs3pv5888kfj7jmdh-inkscape-1.2.1.tar.xz.drv > > | 4.0K > > | /gnu/store/b4zacwzx5lriwxrpr7y4wi1i3rl22ybx-inkscape-poppler-compat.p= atch > > | 4.0K > > | /gnu/store/g46dzii7g1ffi7iz1mkqydkh5filn93j-inkscape-1.2.1.tar.xz.drv > > | 4.0K > > | /gnu/store/jkpfxya83dzkyl42wawd8avvwvh1rjbv-inkscape-1.2.1.tar.xz.drv > > | 4.0K /gnu/store/ppnajjk1jmp59hmh5sy805drl5sfnqq1-inkscape.desktop = 4.0K > > | /gnu/store/szdsqp9f75lf8n223994dgnzq0gynxkn-inkscape-1.1.1.tar.xz.= drv > > | 4.0K > > | /gnu/store/zzxliczm87l5l692sbja4md3nlm4kn98-inkscape-1.1.1.tar.xz.drv > > | 8.0K > > | /gnu/store/0n9gsw2kpbs2affmdz5v8569inic47li-inkscape-1.2.1.tar.xz-bui= lder > > | 8.0K > > | /gnu/store/gzczswjnbjwishxdcjb38ff50ryz07y6-inkscape-1.2.1-builder 8.= 0K > > | > > | /gnu/store/ldmc19hvi88gffrksh84clpgj4k35phx-inkscape-1.2.1.tar.xz-bui= lder > > | 8.0K > > | /gnu/store/piy8k5xdfy9lpisz3s539ga643f7lxwp-inkscape-1.1.1.tar.xz-bui= lder > > | 8.0K > > | /gnu/store/zgr855pyl4nq0wzbgvnls7y62y2hm03g-inkscape-1.2.1-builder 12= K > > | /gnu/store/20051ywrcs9srgmc1yz3n7g39mawwj71-inkscape-1.2.1.drv 12K > > | /gnu/store/599w24wf1yc77qz98rdny3gl8hbwnk0v-inkscape-1.2.1.drv 12K > > | /gnu/store/5rm4gq898k7g1m2z8bfdyjlamh4hv94r-inkscape-1.1.1.drv 12K > > | /gnu/store/75hxh7536csa39ycl3lnfzp72n77640x-inkscape-1.1.1.drv 12K > > | /gnu/store/9mkpsshqb8f8bvag4dn6fyay83xxi89v-inkscape-1.2.1.drv 12K > > | /gnu/store/9saq1qq7c7knbpsnyxf2bnq316fzmjc7-inkscape-1.2.1.drv 12K > > | /gnu/store/bni54rrv8mc1i3i06a5va6kvvv1szkh7-inkscape-1.2.1.drv 12K > > | /gnu/store/kpxb5da4919c99npg7qpfa2dcb4mqi8h-inkscape-1.2.1.drv 12K > > | /gnu/store/mmqv80zr7wjh7cys12f4iqkhcmg58i5c-inkscape-1.2.1.drv 12K > > | /gnu/store/pa7hirai1r6l356xd12ldglgcp7z1x6q-inkscape-1.2.1.drv 12K > > | /gnu/store/rkkplpgzqri888zq4byznhf1adbrx07l-inkscape-1.2.1.drv 12K > > | /gnu/store/scqjnhcc1b2fyccy907wavh0maas1afh-inkscape-1.2.1.drv 16K > > | /gnu/store/fwgd2kvp9g7ag503rx5g1zblxq028wj0-inkscape-1.2.1-builder 16= K > > | /gnu/store/hkhhjy304ma2kzchfr36qnpaf62iq9py-inkscape-1.2.1-builder 16= K