From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2DssONZl52OyvAAAbAwnHQ (envelope-from ) for ; Sat, 11 Feb 2023 10:54:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EKlBN9Zl52NtGgAAG6o9tA (envelope-from ) for ; Sat, 11 Feb 2023 10:54:30 +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 B049C26C8C for ; Sat, 11 Feb 2023 10:54:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQmZz-0000Kn-FC; Sat, 11 Feb 2023 04:53:59 -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 1pQmZy-0000Kf-4G for guix-devel@gnu.org; Sat, 11 Feb 2023 04:53:58 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQmZw-0005CH-Db for guix-devel@gnu.org; Sat, 11 Feb 2023 04:53:57 -0500 Received: by mail-wr1-x432.google.com with SMTP id y1so7509939wru.2 for ; Sat, 11 Feb 2023 01:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7RTG0fK0hpAAif9aJlwpLrOM91UfYyJ/RE8ogVer9Ec=; b=eAVtjCtssaUF5OuvHrx3GbCe3XX+E7E9xdXbo/7uP70+JnQR9E6+1SxSsENvpNJFZ9 vgj3icQ3R9FKR4oHnKV14Toyz6twR4bcyJFpeT/umsq+rHCEXXDErIckdY/TZoFdJF3D JtZrlnKs3kA6ThkQFMKx1n3YFJr/mx+RDICfH4XQ7VYHK5i8SU1F673FrSIFVtTPlEpz 52WCv2O8y95ZRfzPZ/2jP6kbJQRmxWUtlIXzB8JlMeu6NRRdBKapXJFzCEkPHpasegeJ 1xiHLTM6M5bhaYARlSnpRbD0+5FEo6tzXXHw5Lxq458I2IeAxj/+eWm+ZKyacL+87Rr2 q56Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=7RTG0fK0hpAAif9aJlwpLrOM91UfYyJ/RE8ogVer9Ec=; b=bBWqclnuOeEMVqaxFOIogtQS4dIzb8VNqwS92/tUUkN+TnvyFEgnSWqflZGjz0gg4M I+Hf8jpCqKia2s8vNqXQvpiOPw6TdFHZY2TgNE9ZIqitEyz8H0rNmmtNUVOWB8p1wk5M 2lrUT/qAXGt2Ct1kNG+4iSGN2slNzFIUzhlVvYi9OZtkLSsSWyw6QK3kdV9fSU6Rvy+z Vhcb8zMXngSN6iGV65U7Yh50BRjsUQWRZ/LRQ/XV91hvg/+qL8J270p2btxoLDaXgA/z gB0610Sb8l/cq75nQBc9iOxHRIESjx4c32fI7M7gIMkrdQ2Z2whRTn0wtCtox2EYXacw +BCQ== X-Gm-Message-State: AO0yUKXV12xHl0yJIJY9zs7OwUNU6VG7L8ADnYuUG9Ad9m8f/s9GS62g XbGX3HvgaWcNIEwrCcRlS2WTmt+j7Ds= X-Google-Smtp-Source: AK7set+aMwUdypjWtp/IG+wda4b1yWxj+VjImixw8rVUOl7r/4gbf5B4xyOX2R+Di4OAHutrE/GdPg== X-Received: by 2002:a5d:525c:0:b0:2c5:3fcb:6824 with SMTP id k28-20020a5d525c000000b002c53fcb6824mr4142321wrc.2.1676109234417; Sat, 11 Feb 2023 01:53:54 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id d2-20020adfe2c2000000b002c3f7dfd15csm5705151wrj.32.2023.02.11.01.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Feb 2023 01:53:53 -0800 (PST) From: zimoun To: jgart , guix-devel@gnu.org Subject: Re: guix build -S =?utf-8?Q?=F0=9F=92=9B?= --with-branch In-Reply-To: <17e2ec3e0e5f63cc158b25f6870bd424@dismail.de> References: <17e2ec3e0e5f63cc158b25f6870bd424@dismail.de> Date: Thu, 09 Feb 2023 21:19:03 +0100 Message-ID: <86a61mvbgo.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::432; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_24_48=1.34, 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=no 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676109270; a=rsa-sha256; cv=none; b=fRoKMAGAEHxgOVJi97zwW4Xx6wynnsiWqe5B44LYCtuQIUKHQbYPheW6EwLRu3rTPk1o/X o99y/I/tIbordatfov6sVKYJxfsBo1OGoaGdNOhTKk94QsmlZ/MXjHr36jOaugGFNUvfBT gC1i4pTXcMmvOwKeQfq+HkGrK2JXpjljolvYOBnIwaQRC3ng7yz9yY+k6U9S0Ri9uSMUiV h0kq7snOMN6M6nLLS56zVxOhFi/NczStO+OhSkBg6DMjBHqW5vQE9Q5am4tNBA4bhWf+jx btP2JBQBnaeDBzlpH7lmk/H48twJZA/KQmn35wY+SEdyAjZaNZKsvoCWVWkA5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eAVtjCts; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676109270; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=7RTG0fK0hpAAif9aJlwpLrOM91UfYyJ/RE8ogVer9Ec=; b=erg/SvpSZUpKeVnWkH4A1Hdkpzb2SNKSNEt8ZgUMHaMcuKgjYEki/yeshJIEhRv9Il1O4+ NOqvb4nozeDWdI/+VA2ThAfu7YE+xo8h0mHIOLnDi/W7bJ2Yx931+wlPHNX6vxzFA6ONwp /dAV0UWvUMK24AOgK0F8CtSNbF07X2hya7K4HtZzuLSINRxZ9hrEy+W5giNM7UrRFXhoYB NybSZathBhPq0wfNUhTBwc4xv8XDsqv6RJuoJRXdJ1Epyf67ozbKgWedog2tsObF6LG3/0 oepGiXDzEnpbyYm4cWwYtsCYA0BirmL87aimvgqItHwQYJX3V9Nd3WLRd0LW2Q== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eAVtjCts; dmarc=pass (policy=none) header.from=gmail.com; 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: -5.30 X-Spam-Score: -5.30 X-Migadu-Queue-Id: B049C26C8C X-Migadu-Scanner: scn1.migadu.com X-TUID: V2SgclyF8uWK Hi, On Thu, 09 Feb 2023 at 18:07, "jgart" wrote: > Just opening this thread for us to brainstorm how we can improve the > symbiosis between guix build -S and --with-branch. Well, indeed this bug could be fixed, --8<---------------cut here---------------start------------->8--- $ guix build eless --with-branch=3Deless=3Dtests -S updating checkout of 'https://github.com/kaushalmodi/eless'... retrieved commit fb9584e319152c38dfb64ab16d596eed7b00133f Backtrace: 13 (primitive-load "/home/simon/.config/guix/current/bin/guix") In guix/ui.scm: 2276:7 12 (run-guix . _) 2239:10 11 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 10 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/status.scm: 815:4 9 (call-with-status-report _ _) In ice-9/boot-9.scm: 1752:10 8 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/store.scm: 661:37 7 (thunk) 1300:8 6 (call-with-build-handler _ _) 1300:8 5 (call-with-build-handler # =E2=80=A6) In guix/scripts/build.scm: 807:26 4 (_) In srfi/srfi-1.scm: 634:9 3 (for-each # ("= /gnu/store/0yd0l61i817qd31rklimqsz5gs=E2=80=A6")) In guix/ui.scm: 907:2 2 (show-derivation-outputs _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" "/gnu/= store/0yd0l61i817qd31rklimqsz5gsc7afcb-eless-fb9584e")'. --8<---------------cut here---------------end--------------->8--- and instead return the expected Git checkout. However, note that the store item returned by =E2=80=9Cguix build -S=E2=80= =9D is not a Git repository, IIUC. Cheers, simon