From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iJKrG7rR4mG7wAAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 14:52:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YIp6GLrR4mFYLQEAauVa8A (envelope-from ) for ; Sat, 15 Jan 2022 14:52:58 +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 1E9302D89B for ; Sat, 15 Jan 2022 14:52:58 +0100 (CET) Received: from localhost ([::1]:40866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8jUH-00072m-BB for larch@yhetil.org; Sat, 15 Jan 2022 08:52:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8jSV-0005FR-Kt for guix-patches@gnu.org; Sat, 15 Jan 2022 08:51:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8jSV-0004Fo-0n for guix-patches@gnu.org; Sat, 15 Jan 2022 08:51:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8jSV-0001rn-0A for guix-patches@gnu.org; Sat, 15 Jan 2022 08:51:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53063] [PATCH v2 wip-harden-installer 12/18] installer: Replace run-command by invoke in newt/page.scm. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Jan 2022 13:51:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53063 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 53063@debbugs.gnu.org, ludo@gnu.org, Josselin Poiret Received: via spool by 53063-submit@debbugs.gnu.org id=B53063.16422546447059 (code B ref 53063); Sat, 15 Jan 2022 13:51:06 +0000 Received: (at 53063) by debbugs.gnu.org; 15 Jan 2022 13:50:44 +0000 Received: from localhost ([127.0.0.1]:39518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8jS8-0001pj-Eq for submit@debbugs.gnu.org; Sat, 15 Jan 2022 08:50:44 -0500 Received: from jpoiret.xyz ([206.189.101.64]:48812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8jRy-0001md-3g for 53063@debbugs.gnu.org; Sat, 15 Jan 2022 08:50:34 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 2B63318506B; Sat, 15 Jan 2022 13:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1642254633; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=INDOUGYDKcNnnbQK3QgwDm1WQsdfX4OfOc7hc2OziM0=; b=ElZ7oRedx0xH3cgoi68/7C11mO/kEblL76SW7wh+f/2rneQN3ZiFOk8qOep/o+hi5lxfWb J3hcQVgxwAREjQWgFewufyTVrHOOjP84EVe9m/N+4hYKZU12PLYaZ/DAHISvR1hluXp7JU nX9R1IJ9F/+pjHkU2gBg76K89J3MDjEkJm0KvxHH8vQaK8WjYqbWTTnR4L3ZgW1SdwcSBL KhLDHJtZk5maSvX9qM/NYkx87LQomweh6BsZ6lf9AGuw9/6vebSIaxseyrLMP35e0keE0F x9kSHzmq+RLfljmdKjfe7KhSxzU674gFmMH0NaRoFF2eobATvSxrrucs5gPf4Q== Date: Sat, 15 Jan 2022 14:50:05 +0100 Message-Id: <20220115135011.5817-13-dev@jpoiret.xyz> In-Reply-To: <20220115135011.5817-1-dev@jpoiret.xyz> References: <8735lz4xsv.fsf@gnu.org> <20220115135011.5817-1-dev@jpoiret.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / 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" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642254778; h=from:from:sender:sender:reply-to: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=INDOUGYDKcNnnbQK3QgwDm1WQsdfX4OfOc7hc2OziM0=; b=UyRcD27ePl/b049tCEYLb1sjv0wlXN3UPU1VQS580qrHvUu6fUeBqSWk7kbz+k0TCSs7FT MLCB9SA/FslvL9AIJa6QD0kzJFyjILB2oAGk/TU9fewoP6dxDPFDhQP3LxcETdicTy4w0W 2PwVgXhNDxk810xmjdPk5ZgzWqxp7daxF3evg0qBPaEaLXD1zLVYWrd8f9B8W930yudd8d ClmlrKi64bQeWisA81zQaonUPlqZ/PKacsVJc4BckSMC402VmC/JnQcfBZuOc43uQZTjkF jZjSqBfCJVbr8nWQt93vvWa4m2MiatY0MIFyOp0TotyQvoyWFh2ZQhVuOqcSiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642254778; a=rsa-sha256; cv=none; b=tb6uFPxhO6B58RhGp20BZj3fMU38RLMIkRahwXr5Z8B6PJTDfsj+m8jhI+CL9f+tdxjpA5 2yjJK1n+FEIC4AT1rRZ5XsBekE63Ka2Edms8iAoOyckcLWlnIWZC5VhGicI+G5skHXTkAW qEBQcrWlB7Jt2z2GKsXO87SRbEBup/LLB8NYJmKofM2rQRwJ46wSdLR0wv9rUZcrHjy2yg tZicGcEXTdcJkgszXHWi4KlDdWEaSAKkteksauWFYFHV6xpErL/DVUYpg8lq627b6ZAgdk s3ad3+f7n4yE/JjFHwM0PUw/kSca7QqKMpWto+2ophn7MTN5lBboEcKXIrhXJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=ElZ7oRed; 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" X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=ElZ7oRed; 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" X-Migadu-Queue-Id: 1E9302D89B X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: rA4NBvO8rY7i * gnu/installer/newt/page.scm (edit-file): Replace it. --- gnu/installer/newt/page.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/installer/newt/page.scm b/gnu/installer/newt/page.scm index 9c684a3899..695c7d875f 100644 --- a/gnu/installer/newt/page.scm +++ b/gnu/installer/newt/page.scm @@ -22,6 +22,7 @@ (define-module (gnu installer newt page) #:use-module (gnu installer steps) #:use-module (gnu installer utils) #:use-module (gnu installer newt utils) + #:use-module (guix build utils) #:use-module (guix i18n) #:use-module (ice-9 i18n) #:use-module (ice-9 match) @@ -727,8 +728,7 @@ (define* (edit-file file #:key locale) (newt-suspend) ;; Use Nano because it syntax-highlights Scheme by default. ;; TODO: Add a menu to choose an editor? - (run-command (list "/run/current-system/profile/bin/nano" file) - #:locale locale) + (invoke "nano" file) (newt-resume)) (define* (run-file-textbox-page #:key -- 2.34.0