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 ms11 with LMTPS id uKz+KA56/F8PMgAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 16:17:18 +0000 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 yL7bJA56/F/yGQAAbx9fmQ (envelope-from ) for ; Mon, 11 Jan 2021 16:17:18 +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 13C819402D4 for ; Mon, 11 Jan 2021 16:17:17 +0000 (UTC) Received: from localhost ([::1]:35204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyzsY-0004FV-VI for larch@yhetil.org; Mon, 11 Jan 2021 11:17:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyzrN-0004F9-Ca for help-guix@gnu.org; Mon, 11 Jan 2021 11:16:01 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:37744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyzrF-0005Kz-1m for help-guix@gnu.org; Mon, 11 Jan 2021 11:15:56 -0500 Received: by mail-wm1-x329.google.com with SMTP id q75so401751wme.2 for ; Mon, 11 Jan 2021 08:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=m0pIemXKErkkkiWJJZ3IYh2VQarWolPwFE1Eo0BNjeE=; b=UiIXFw37UO8yIV8w5XHDEl4i2H2ieYwdJnjYETgCqdBL3+70OIS89vPuwZwSnB5k3J B/25Lv4UFLLKtT1tz5NH1kW4sStW6YgvBG0RmraUb2c14jgQKhkbTKkco3kCpMrA2udX sok2KDVFzD89Am5x5lYpndIDzCx4oODNvurn70iReKSivghWRICJPadwk/t7dnMastqp 5wSys4GMREhrrxyhRJ6i+LfTTXQuIlrCxQjAbiAawUOtawYNaXE4RB6c2EYcaFFv0ROg SPsTOqrr4uSbF3VYrUCV0/Inig6r3Dqe982W1Pnw5hovHDbOMBd16F5Pv9vQR0xwdFre h1Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=m0pIemXKErkkkiWJJZ3IYh2VQarWolPwFE1Eo0BNjeE=; b=GXrCvkcMZwY776JXSCNQLtWqpB3sjB36a27SFxWSXUDcJhsbN1NqK/6Z4kLFWmvw3J vXWPJw1G5fawSzKRSwYjydm3bs8poFdvGp1S0+2k0LRix9K5YA2JTLsCFwhyPbKDjWaP 0F7bduCiRZXlAz7Fz9AANWPl2dR9d0DlWQro/WM4ZlTezM8A383lXDf248zExTUZZkLO u8BfTpF1BEVIaNFzEzrueEJ97QMkPvrjJffI1wygOufNQmaTZO+Maimpd75JfK9aQ4Ho Ft4mu0878m691869sFDC3HAhBaIZuGFKYjiUsnX3NpnvYB9TNZnypDRQn90V/EWYhTMe KEpQ== X-Gm-Message-State: AOAM531C7Z1/reoEG/esZoduwvNeC9SBPb9qUbffFfCQj+9As8nVXG/g oY8P2mNY5maUDpvAUG9W5+hh3LJMZwY= X-Google-Smtp-Source: ABdhPJxSoVjYtRW/0VOAObQ2eXEfPQPWWGPu8boPP8Q6IgN/nmCw9tzxh8PLctgHLhaW/9WCXTCTfA== X-Received: by 2002:a1c:c305:: with SMTP id t5mr392561wmf.63.1610381751127; Mon, 11 Jan 2021 08:15:51 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id v1sm102953wrr.48.2021.01.11.08.15.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 08:15:50 -0800 (PST) From: zimoun To: Zelphir Kaltstahl Subject: Re: Find installed library version of GNU Guix commit x In-Reply-To: <623ed7b0-b6c6-596a-8f66-a0d146cc9852@posteo.de> References: <623ed7b0-b6c6-596a-8f66-a0d146cc9852@posteo.de> Date: Mon, 11 Jan 2021 17:04:03 +0100 Message-ID: <86v9c3qx3g.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::329; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x329.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 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 Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=UiIXFw37; dmarc=pass (policy=none) header.from=gmail.com; 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: 13C819402D4 X-Spam-Score: -3.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: B4V7hURIL4lg Hi, On Thu, 07 Jan 2021 at 20:03, Zelphir Kaltstahl wrote: > ~~~~ > guix time-machine \ > --channels=3D"${DIR}/channels.scm" -- \ > environment \ > --manifest=3D"${DIR}/manifest.scm" > ~~~~ > > Using the files I wrote about, how would I go about knowing, which > version of guile-json I am really using? What command can I run, that > will list me the versions of packages, which I installed into the > environment, which I am temporarily creating using the above command? [...] > I see the version. How can I look up that info in the created environment? I am not sure to understand your question. I am guessing=E2=80=A6 :-) Once you are in: guix package -p $GUIX_ENVIRONMENT -I but this is no robust and for example it does not when the environment is created with --container or --pure; because =E2=80=99guix=E2=80=99 does = not exist by default. Otherwise, give a look at the optioj --root. All the best, simon