From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sJlFEZBSomZRbgEAqHPOHw:P1 (envelope-from ) for ; Thu, 25 Jul 2024 13:26:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sJlFEZBSomZRbgEAqHPOHw (envelope-from ) for ; Thu, 25 Jul 2024 15:26:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b="R5VD/Bgy"; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721914000; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=KSzsYZyQyMDFT/7tKmDVt4m7ns+oVcD9sRZUNoh4y4c=; b=ggtc+KFqqOk2Im8J9fUC/brRLCV+5XFUucgjMfsObYHaVFWuBm/psWIWgBXpCN5CdrOCza IvK3zz8OIIWHQQjXGm95VaGv02cbDzs/YBdYtY3mCUKYMaZSISmMOMmP3hYzlVrHjGjdfw Afnuso5dxFoVXqqNsAC7JFglGDYMHQ3MarAK2VL9pAw5UsUxG2PzfRUptSRnQPPg7obt/C BdXmHNxUacof7RRpVZOpyHYqEhwYxwqGb9/uASr2wt2ei1W9dD8qlg0+Jf42KUQc0UiGJD W2tpTeVZIoTyWNCAXnlKiWp+++iA818r/MtwRQBWjb52DS8VMhW/RMGXbsgKYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b="R5VD/Bgy"; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721914000; a=rsa-sha256; cv=none; b=NJ+UsaMlqjtNAkIUqYx7mcSVaazSsOWWsC1FhWHmMP0Z9QtnodmSDrO2jRp/oB8UVQdQ/o R9wfgJBcPSfZEcq+4+cAEJeSHFtEnkdA9Hkqnj0Ii/UpdV6j3OOX2IagjgCRR0v92Q8jWG AoLxb43H1Vxro8qA3wl53lWjpgFgRM7DEXiaxBf+4tv4/445By1bqHf2u/ZIIgZ/Dt1Y8/ p8kvpwRxTIN6EP6fnEb+aZRwiwh7MqOoTbI85jGOb4hx/oPe7EZRnwLlEoC+XK//ovfkIb fVh5uosMwQYPx2mE3Lpa9ub7zOd7TAIoBCqE+URI0bOH9z6wHL+wzccKp0C/sA== 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 2A97E61384 for ; Thu, 25 Jul 2024 15:26:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWxvQ-0004vj-Ac; Thu, 25 Jul 2024 08:50:28 -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 1sWxuu-0004r8-K0 for guix-patches@gnu.org; Thu, 25 Jul 2024 08:50:00 -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 1sWxut-0005Th-1Y for guix-patches@gnu.org; Thu, 25 Jul 2024 08:49:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWxuz-0005Ge-OB for guix-patches@gnu.org; Thu, 25 Jul 2024 08:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72071] [PATCH 0/1] Split the patch-settings phase into copy-settings, patch-settings-for-build, restore-settings-for-check, patch-settings-for-install References: <20240712094059.15538-1-luca.cirrottola@inria.fr> In-Reply-To: <20240712094059.15538-1-luca.cirrottola@inria.fr> Resent-From: Luca Cirrottola Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Jul 2024 12:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72071 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72071@debbugs.gnu.org Cc: Luca Cirrottola Received: via spool by 72071-submit@debbugs.gnu.org id=B72071.172191178920213 (code B ref 72071); Thu, 25 Jul 2024 12:50:01 +0000 Received: (at 72071) by debbugs.gnu.org; 25 Jul 2024 12:49:49 +0000 Received: from localhost ([127.0.0.1]:35721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWxun-0005Fw-5D for submit@debbugs.gnu.org; Thu, 25 Jul 2024 08:49:49 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:44134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWxuj-0005Fd-Iy for 72071@debbugs.gnu.org; Thu, 25 Jul 2024 08:49:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KSzsYZyQyMDFT/7tKmDVt4m7ns+oVcD9sRZUNoh4y4c=; b=R5VD/BgyW0AxUF+/I4pZyleVzNHhT6cQ2HzUnkxBb/JaN+tZHyn7zxyD g6jRq2y0TWcUxKT4Caio4PTAnl0YS7hVBV9j9l4FuEZ3Ueqbpr82FEQFA BxNVAW1QcsVtO1eZjZs2QXuHuzNhyw2Mo2WBVYXm8YXrcWymnS7OfnG9E 0=; X-IronPort-AV: E=Sophos;i="6.09,235,1716242400"; d="scan'208";a="92951443" Received: from nat-inria-interne-52-gw-01-bso.bordeaux.inria.fr (HELO canard.bordeaux.inria.fr) ([194.199.1.52]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2024 14:49:31 +0200 From: Luca Cirrottola Date: Thu, 25 Jul 2024 14:49:02 +0200 Message-Id: <20240725124903.528781-1-luca.cirrottola@inria.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 2A97E61384 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.32 X-Spam-Score: -2.32 X-TUID: Ow2jffM/k669 Let the test_check_version test success by backing-up the original settings file (to use it as a test reference) and swap it with the patched file. Swap back the two files before installation. Luca Cirrottola (1): Backup original settings, so they can be restored before the check phase and patched again before the install phase (since the install-data target depends on this file). gnu/packages/maths.scm | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) -- 2.34.1