From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iN+hHuKnF2c9MAEAe85BDQ:P1 (envelope-from ) for ; Tue, 22 Oct 2024 13:25:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iN+hHuKnF2c9MAEAe85BDQ (envelope-from ) for ; Tue, 22 Oct 2024 15:25:54 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kpwB4rrr; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="VKs/QVeE"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729603554; a=rsa-sha256; cv=none; b=Oi5/5RxGbkWputIvIwNdvaeTpR3gZSC8lN2T5x+kRrQ6e5WDcknY14Dq0yn/SiSv2bwo+Q wTBCcZIsQBgb5QmECByo+0Qoutpnldvluc2Yezx8pXs6UZCZKSxLKRnfgbV1Cr68JRzTGY OR7bcJHydzYeLL9XYMwb70sZTQGtiJO6FmumRsSEwUHFZ9S2UpUEMm1qPdr9/Q/G0HRt/b IypbXD7Q7EM3/PtJLWIKS38E2wsKAYTSIEKG6TiJppLnb1khMglZSz+eCqpeyWAnGyVj+q DfZCaNUt2lT47RoM2Qoeo0zkMCHPLIxFBH59QfeOQfk1hxQnu5UMc/l97xD/IA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kpwB4rrr; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="VKs/QVeE"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729603554; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pCDl98mnGMAPbVrqa9HnjDDOYIOCiv2XK7X32xIeC3k=; b=hJND6IEsqPDv2j1KibD+IlECp56pLE8lN4324tUWf25DTw/Dhxm66H84yRXAxeVn2FgX1G fgj0sCsfQYDNwjFMqFLsZkfIM9dqTNCxG/+Uf6lQmsCWtv8+Ot2O/MFG/5te2zY/sHCrkK SaNrRG6uQ6LqQmPd6Ix5xrmI3ima04yJRjp5QDJtHJcn9iv6dyLW9Nsg4f+Wo34iAePt1o JqQbJmR6gMu7RgGvCDkwJcyudCN+uKEM09q4lEhhJs5wQcfGeUuIrwlDZ1yNdmJkhPJ5lH 95qOZMvJvH77iDz/9OsoUUh/SVkwRfKMfJ/1JMfeZbJxHs2b4m2kUD2/kG6xPA== 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 A015C1B4AC for ; Tue, 22 Oct 2024 15:25:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3EtN-0002wl-Ck; Tue, 22 Oct 2024 09:25:45 -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 1t3EtJ-0002wG-05 for guix-patches@gnu.org; Tue, 22 Oct 2024 09:25:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3EtE-0007FK-HR; Tue, 22 Oct 2024 09:25:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=pCDl98mnGMAPbVrqa9HnjDDOYIOCiv2XK7X32xIeC3k=; b=kpwB4rrrm6P/NNfouA49SOkF5olugzN7akZLYaUDGjuMrzKHEFrTag8OcRKj1ZdZIAmHyKJa5NbIu9Sbrl/Ahm6b3SX7Vmvz7DwqjLGZ5a3F0ETGieF0csty+NfyL5OSXZ2y6caae2+YU7RPknWQ5z+fVaMJ71i05tKIvczWhNpbWfDsIifQhV4xACPySHDGNwBMkViDSbKc3SuWhWyMvuq7FmlNZHEnokYmZneXXNcY9NAN4hbMZIa4I0TRyCwq0buoInAqMPVAVGhtvd0p9l1BBT/STwbK3MX7dsGer5P3YA2zpqk1WRoIIW9/dd6D7uspv2BcmwUcrGx9kG3V0Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3Ete-0002xz-FS; Tue, 22 Oct 2024 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73948] [PATCH 2/2] ui: =?UTF-8?Q?=E2=80=98show-what-to-build=E2=80=99?= displays builds in topological order. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 22 Oct 2024 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73948 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73948@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 73948-submit@debbugs.gnu.org id=B73948.172960351410641 (code B ref 73948); Tue, 22 Oct 2024 13:26:02 +0000 Received: (at 73948) by debbugs.gnu.org; 22 Oct 2024 13:25:14 +0000 Received: from localhost ([127.0.0.1]:55058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3Esr-0002lY-CG for submit@debbugs.gnu.org; Tue, 22 Oct 2024 09:25:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3Eso-0002j5-O1 for 73948@debbugs.gnu.org; Tue, 22 Oct 2024 09:25:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3Eq7-0006wk-D0; Tue, 22 Oct 2024 09:22:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=pCDl98mnGMAPbVrqa9HnjDDOYIOCiv2XK7X32xIeC3k=; b=VKs/QVeEHBVKx/2VDZOF 05EnDXL+xnWc+4ITGT1VyG38xOsCt/4YeA/S8T0x42Kxi+4UutDbG5Z+6QJUMUMfOWsTdO+6Wipwz hQ76l1hu18iwwaFR0CwzoNRfITLZjkkM1kjSFE7RXXGpu8LAkjmEo9oH8HMdjjrFR2jcDNoBAd70U QBzhMK2JfToQjZ8eh7k7Cs6X10t1jhNBij/eZEz19VdTZKQ6d+WVlH9EJnwPxKFG9EldudGa1JJss 6F3Jz8+mxs2sYb4V63XRDpNPByTv571P+XIK/VdKQ5WTn9iGJxP/nSubK/7ITkyTiiEvWMJyN/QUn JE/pYx2f3N/+sw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 22 Oct 2024 15:22:10 +0200 Message-ID: <3ad164e7e8a4fe9469ef42e2ca4b5cfa77fffa82.1729603127.git.ludo@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.81 X-Spam-Score: 2.81 X-Migadu-Queue-Id: A015C1B4AC X-Migadu-Scanner: mx12.migadu.com X-TUID: bkYDK8mFPNT1 That gives something like: $ ./pre-inst-env guix build vim --no-grafts --no-substitutes -n The following derivations would be built: /gnu/store/…-tcsh-6.24.01.tar.gz.drv /gnu/store/…-tcsh-6.24.01.tar.zst.drv /gnu/store/…-tcsh-6.24.01.drv /gnu/store/…-vim-9.1.0744-checkout.drv /gnu/store/…-vim-9.1.0744.drv … with the derivation(s) being asked for coming last. * guix/ui.scm (show-what-to-build): Reverse ‘build/full’ before folding it. Change-Id: Ic0da9f4f8a58c7ed5e2d10f6ec2226f0865aed75 --- guix/ui.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/ui.scm b/guix/ui.scm index 966f0611f6..447550635c 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -1077,7 +1077,7 @@ (define* (show-what-to-build store drv #:hook ,hook #:build ,(cons file build)))))))) '(#:graft () #:hook () #:build ()) - build/full) + (reverse! build/full)) ;preserve ordering ((#:graft graft #:hook hook #:build build) (values graft hook build))))) (define installed-size -- 2.46.0