From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MFFGH2ysyGLo7QAAbAwnHQ (envelope-from ) for ; Sat, 09 Jul 2022 00:15:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GEseH2ysyGL6KAAA9RJhRA (envelope-from ) for ; Sat, 09 Jul 2022 00:15:08 +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 2CEC310F82 for ; Sat, 9 Jul 2022 00:15:08 +0200 (CEST) Received: from localhost ([::1]:37388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9wFf-0005YR-9c for larch@yhetil.org; Fri, 08 Jul 2022 18:15:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9wEj-0005YH-UO for guix-devel@gnu.org; Fri, 08 Jul 2022 18:14:09 -0400 Received: from mira.cbaines.net ([212.71.252.8]:36690) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9wEh-00010z-7p for guix-devel@gnu.org; Fri, 08 Jul 2022 18:14:08 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id D077427BBE9; Fri, 8 Jul 2022 23:14:05 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id b8e86880; Fri, 8 Jul 2022 22:14:05 +0000 (UTC) References: <15fc706b-7e07-c3cf-e5dd-c24c9bdfb0ed@posteo.de> User-agent: mu4e 1.6.10; emacs 28.1 From: Christopher Baines To: Zelphir Kaltstahl Cc: guix-devel@gnu.org Subject: Re: Bootstrap script only works with guix environment, not with guix shell Date: Fri, 08 Jul 2022 23:10:36 +0100 In-reply-to: <15fc706b-7e07-c3cf-e5dd-c24c9bdfb0ed@posteo.de> Message-ID: <8735fb8d78.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net 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, SPF_HELO_PASS=-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: 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657318508; 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; bh=hzQU+qO/lLkX+sFAa8ilonvdRjSLCdvco5I1j4gXRl4=; b=VFIo5p3yh990y8IpI+mXwTiU8ZbhZuXu1TuJGlYNLwDBXbPZT66W9vTYaB7kggNklQqwuX Y1fe4vQOFw1f/pF7JYmaXhkgVeS4pPR7X+gvU7rDizXItFpJ6Dte6je90/CPdEREFP74KA YA2ZpBbKiX4TCam4QvmUvB9+HHz7zqTt3pTlfAmJgi70cQ+OXSNlwduRKzCbZetJesaZAV I3d2VJfixzYlSXCUf5aEujwTVdGE0HevKOxyM6oeGhRc9GtkI3/15PmJCjJKov9xn/pdKM T126p7KkTAhNON3/YPG4uk5ObHNJCP0cX2M062DmNORNL+1BiKJYD5ZskxJFmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657318508; a=rsa-sha256; cv=none; b=SCdhFUo6ulwjA7EfnVAlZoXlydRJvrnSHIpeko/I3xzMqTFfArpenIav9kgvygbqis7Rid K4IGyiC4QZmzwgRUUM1d+NKQ5cKtc+EMPowUmSqiDiaNb1ukjwCCpbXKHXYGWIaU2llbdI 7c+E/0dCTzspWdzZ4FlDNfHcrbx8kf9pAr27W8qiSShBGC8AnJOc1AUfjou8MIN6tn+MdB nfuBDJwV1O81iwXWrS0+FQoN5OyMeoAzdewVZfWSSk99B6DaNco1qmRlUa4jo5RD2hZ3tm /ls6so0D39ZiqbL8dXeGFNzU6kXUge9Xv2STq77N8c3aXLvFKsmScXGSs8GRKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -4.85 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 2CEC310F82 X-Spam-Score: -4.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: zizP4nI7a6LE --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Zelphir Kaltstahl writes: > I am messing around again with updating a package and according to my > own guide from previous adventures, I have to run the following > command to generate the `pre-inst-env` script, in the root directory > of the guix sources: > > ~~~~ > guix environment guix -- ./bootstrap > ~~~~ =E2=86=92 guix environment --help Usage: guix environment [OPTION]... PACKAGE... [-- COMMAND...] Build an environment that includes the dependencies of PACKAGE and execute COMMAND or an interactive shell in that environment. So this is giving you an environment including the dependencies of the guix package, which is I think what you want, since you're trying to run the ./bootstrap script. > But then I remembered, that actually `guix shell` is the newer thing and = changed it to: > > ~~~~ > guix shell guix -- ./bootstrap > ~~~~ =E2=86=92 guix shell --help Usage: guix shell [OPTION] PACKAGES... [-- COMMAND...] Build an environment that includes PACKAGES and execute COMMAND or an interactive shell in that environment. guix shell is a newer command, but new things don't just replace old things because they're newer. guix shell isn't intended to replace guix environment, just to make it easier to get an environment that includes some specific packages (rather than having to pass --ad-hoc to guix environment). In this case, you've got an environment containing guix, rather than the dependencies of guix. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmLIrCtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xeg0A//f7RzYyh79PBjxVYN2KAEHqRmH8DVaz/M lDJ+asXAOzUbUkpBcUdEDSIqRtLwZ1m4GpORjCLU/6c60nE/gKj6ke5wW87UhkYd 4AnpNsNqE7T7uioxy7Bv/UsK/IMAxInfLJLGG+HX95X+mcQgLXFR7GWdnOV+ZQ6T 4SX83qtYKbLHqzUjNhtbVPN0HlszfztB5ZIr769LNWmJi90ZY08ToY4KvGrpY82z bc4xB0kXMceIDPAR2L4qr48J5/K4xBax8SIUQb0Ni0XiwL7YFevCrXeqCBPxfOYT erPk+NW+kkDepKKhhjHALi8Q0XnLowBnNXxlCIKvnVmr4SkcPAv7FnYmxETkvA0B 4Ro6CKZMLkyqqyxUwxKR7IFMy5fpPopVy+K287afV26tHxXua4+iMh1ea1be+SS7 724D5nlvn/B7KuDR9d2aMXWrT5hVF1UtYXaLSbX0SOCwA7bWTsu2kuHh3sMsWG7i ZUTgRpmqy2Xo4/Kk7C8QAlL/bn5hC/f2tcS55/FpgJP0ypGVKwq3XkS0o03ADZFe uUDydS25NszjcsCZbvKYQxw2gij4+iQsUOqLrxNn30pZwNGwkte8cmQFxe0KqRYt UdHey2XECj6jmOODFTXY2IDduwvgOsSnz8+8BUp0NM0iQlhOC+Q+LrP4CdypQLiR 2NZm78Wytfo= =xzmK -----END PGP SIGNATURE----- --=-=-=--