From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id BjDyDkqRp2UnGAEAqHPOHw:P1 (envelope-from ) for ; Wed, 17 Jan 2024 09:35:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id BjDyDkqRp2UnGAEAqHPOHw (envelope-from ) for ; Wed, 17 Jan 2024 09:35:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="mYW/Rqzf"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705480522; 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:dkim-signature; bh=1rhLk4PgabsSzdkankm789+MvVyDHWQlEA4olBzCsUE=; b=NzqedthgYwXxK4o/DqQwS1WHPntWu5DzLgO5owGaMrvFt8jMbFRGQJQaVjZjuLofa09ZCu b3U/DY/hQtLKOh1/8sWM8FqkfLgM8zdStS8221Ldgg9OtsQytqBwUcAEI6CUhqjjrHmw80 4BxfhdSD/llMyzrLrF8xCuBrpFTkM4C2nXyrF9luLkbQ7V9DqKw57/gcheTVsb/pEUifmc sfUdQPO19pocGUzsKHB/5mTY+Bj378PXGFfXJLY6H72Kxii3f0wsWdZ4Ewaz/lc+yurpyQ xKHWnULKrC0oG4uvFIB5wKFonv5l0ogPaFFbYxevunAgoSN6QXG/YLremkigsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705480522; a=rsa-sha256; cv=none; b=WCOdNQX5gDyPytHAnh6qUeLwyQkBtJhY8UZKKOAGl9PBzphsGqSwzZWkVp6uLFwJ3Dszn7 rGS7m7pai7nINvB11mOys4UYDZExFGCdXsVTxrefjDTK2e3oEDrMXgPBMzVa4mg/Xv6q2N BHluYppdo4b1QXHfEa6RtsYsTrfRCWLNg9dbUjlPuzLgT2Fg7qtdzjuzV/Gnni70jyy3nH EBS/Mh0r99vjTHTz/0Go8LkAarboGaHuhF5/aVFLvhLpilml0/iwL15GVV3hTPZwHO6fxd 2Cjtu38vF2MonfC7Wm/gs6t6noYHNl0LYiyLrkmN9XYPE7VtGMP69ncJVwdO9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="mYW/Rqzf"; 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" 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 DDD2D22674 for ; Wed, 17 Jan 2024 09:35:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQ1Nu-0005DC-CQ; Wed, 17 Jan 2024 03:34:54 -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 1rQ1Nr-0005Ci-Em for guix-devel@gnu.org; Wed, 17 Jan 2024 03:34:51 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQ1Np-000818-Pr for guix-devel@gnu.org; Wed, 17 Jan 2024 03:34:51 -0500 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-337b38d6568so1594802f8f.1 for ; Wed, 17 Jan 2024 00:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705480488; x=1706085288; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=1rhLk4PgabsSzdkankm789+MvVyDHWQlEA4olBzCsUE=; b=mYW/RqzfptfTvS8ozl/ZuwUilBCNaSsuJJvmdOVNXipjTZhau8f4Ys3zqr6+FaL2t2 9z43UUxXp1gR3Ohu45SseHJR5lZmDWHLLlq7sMRtPBujMYpzkfTlRLZZrqg+wMluZZa2 BHouexjX8Hb5CsmWmkc5A/WETw19HQ3nDM544DDszR5DG1y6zOIsF4Fh3YzgtOrJlHt7 CjzuXh9BWxf2HfczcX9KUriVIunOWBMQbpUgXv1dlszIVUWvho41IpuRcKALMBpSwLLF T0Q3GhYWVIC67uyBb2KkbnoLuHJ5xpzvsejBKKRhXP8C9YgRLLpg8gukCQVj4HY6BQcf YJfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705480488; x=1706085288; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1rhLk4PgabsSzdkankm789+MvVyDHWQlEA4olBzCsUE=; b=G6p3ZGI3U8jJe2VpH5d70UU3NSy1Z2vH12rXXcOS/V0AJqXS9d+VmbrHGos7BJ6SG/ o5v6BMflBrPTtd0pIXAnB9eEBCTyMbIOY3XRc1pcVRcI2iMa/G4tTSi4Co4Z/7ioEfO4 sg9W4AnZF4J0Vj2n8ESNOT9OOBWN8JWT5vFudmzxAmx5Vc05JXy+SaRbdnhLCzYJUHXi UZHgAg60Z8Km2NMNSE7LlW5g1JrzfVUzNhP94hnljxsSpOv6Q/zuIvgSWkpzYDt365xT aqcvcqfCo0PNq2Rz4/UkrDC7HAC/pyTZpsNns+aNl9zPUFC9abMKZFjmEk1uqf7XVtJI 3BJA== X-Gm-Message-State: AOJu0YwC85mjZR/LWz9YeD6HRpuwDToo433PDuYt3Z3vJrkp/04Gw8qv /mP0O+crkOEDR6thUQhslxY= X-Google-Smtp-Source: AGHT+IHXi3S63xswRcpTl5XB1I4r/JBVcBjPf5LjEgRVYyXCR/28W21qpaVeKfo5GBrBA3nPfhGO6Q== X-Received: by 2002:adf:e712:0:b0:337:674c:6770 with SMTP id c18-20020adfe712000000b00337674c6770mr4271839wrm.23.1705480488125; Wed, 17 Jan 2024 00:34:48 -0800 (PST) Received: from localhost ([141.226.15.142]) by smtp.gmail.com with ESMTPSA id m14-20020a056000008e00b00333359b522dsm1096389wrx.77.2024.01.17.00.34.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 00:34:47 -0800 (PST) Date: Wed, 17 Jan 2024 10:34:45 +0200 From: Efraim Flashner To: Adam Faiz Cc: tumashu@163.com, guix-devel@gnu.org Subject: Re: How to always keep build tree when run guix build. Message-ID: Mail-Followup-To: Adam Faiz , tumashu@163.com, guix-devel@gnu.org References: <878r4pu7bs.fsf@163.com> <77956f5f-d901-41f0-185e-b79b462c182d@disroot.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FKy+F1NE/6UZ6B2D" Content-Disposition: inline In-Reply-To: <77956f5f-d901-41f0-185e-b79b462c182d@disroot.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=efraim.flashner@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.22 X-Spam-Score: -4.22 X-Migadu-Queue-Id: DDD2D22674 X-TUID: 0zonInQzYCte --FKy+F1NE/6UZ6B2D Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 17, 2024 at 04:21:05PM +0800, Adam Faiz wrote: > Hello, >=20 > > Hello: > >=20 > > How to always keep build tree when run guix build, at the moment, I= =20 > > use --keep-failed, but it will remove build tree when build success, the > > problem is that build success alway not right build success :-), I need > > go to build tree to check some thing. > >=20 > > Thanks! > >=20 > >=20 > > --=20 >=20 > You can add the `--cache-failures` option when starting the guix-daemon, = which tells it to keep the build failures by default. > It's explained in more detail in the "Invoking guix-daemon" section of th= e Guix manual: > https://guix.gnu.org/en/manual/devel/en/html_node/Invoking-guix_002ddaemo= n.html '--cache-failures' keeps track of build failures and then refuses to build that derivation again if it's already known to fail. I don't think there's something like '--keep-failed' for guix-daemon. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --FKy+F1NE/6UZ6B2D Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmWnkSMACgkQQarn3Mo9 g1HUEBAAnDY+Ist1TH+/jJKPAdHJbQX7KeYnT+fBE8mAHR8O+VWCRkYiZkNZQguL OKN7458Uc3ppXmUYLseFWSAEsUNCciqku3/lC9RSmefueqOdW7B3/CkDDTJs+xkN AeL+xGIVdXsr9zTDQFtIB5gWX59JnS9BNqn/B+C9qJ+Wb0bTPBEe7WCet3gf/7YB 3udJxSmu/CYVKozNFUo5o4VOXaM1ugecf6imqu4w9+iP9ZgUNxsJ3+fJbpBG8bBL w7P15oKiba3/hui+oZZ7uIpaGyyExgaq79xUwg/cN3KJiDi+V2IZMyO0c0PiayGL oMs7XoJSTUprT10LiK9pQytWvlbuSPlqYrJeIXIJcDtY8VpF0WVDUu4cvmMyVGO6 06XIY4gNX4tQZkR9iH3axhiovL4P7jgtFDsAWQKLQBWS+OQb1aFNVj5RlGlbR9U5 iyRLPeIJ/LXvoTZrsqBTaiLwVBAClSHus1wr+ZNm5SqvRL9s6Y27ksP3bwm9g16c JKXUNw47TINH3UmNTKF+kryelcmXKSFheGAyThYKzQuAEo1+1CQ4g5VRHJ6nCPNQ Z9tAg5EBr7CcOQhqowMeAdboks7j5qrIWJBPwTF4rIPw/9WSYmA3jcwp6OWmmVd2 vor1XgY1a7YHAcXcXmFI+4eo43CZ+dO+UeZKHLpgu8BxGQKrwN4= =aInJ -----END PGP SIGNATURE----- --FKy+F1NE/6UZ6B2D--