From patchwork Tue Aug 6 02:44:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lilah Tascheter X-Patchwork-Id: 66812 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0ADC727BBEA; Tue, 6 Aug 2024 03:47:45 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7FF9E27BBE2 for ; Tue, 6 Aug 2024 03:47:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbAE3-0000wZ-7D; Mon, 05 Aug 2024 22:47:03 -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 1sbADr-0000s8-5h for guix-patches@gnu.org; Mon, 05 Aug 2024 22:46:51 -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 1sbADk-0001ID-VX; Mon, 05 Aug 2024 22:46:49 -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=yXT84HEGgshLU9EfVJUTaA1PhsBASzpyz4kSxW+RrjY=; b=PN3JJn3w02HnLnCdpjLgAkYEeQH89T59md9YOcUkVPoG85F8yFhG3oDaRxOsc9W9brBsgCYqNV5cM+7vO6+SiQnZBrKIGhf/lobC5W+WgQYNma0vrEDYUs6Is2Kzsi2R7JQGfjPTF++t+iv+NNPvyEBVrrLy4z1I9eEOzR+4znPVCVJFZ9RYuTVwg5UyksX5pg8sy/YWQaokJ13b2IdbKyKzgIeL9bA9U6UIc05U2O7d9wUgRJAFHBYOVPNenDj5hMbUS4uS7A/PF8AIONfjfNTJ532GsaPWsjBD8MdRoB6UyumkBEAYOvzuEMmkcMbOGmyGLLGLg88nG0WzCTngpg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbAE3-0008UJ-Mh; Mon, 05 Aug 2024 22:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72457] [PATCH v4 03/15] guix: scripts: Remove unused code. Resent-From: Lilah Tascheter 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, 06 Aug 2024 02:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72457 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72457@debbugs.gnu.org Cc: Lilah Tascheter , Sergey Trofimov , Christopher Baines , Josselin Poiret , Ludovic Court??s , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic Court??s , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 72457-submit@debbugs.gnu.org id=B72457.172291238132311 (code B ref 72457); Tue, 06 Aug 2024 02:47:03 +0000 Received: (at 72457) by debbugs.gnu.org; 6 Aug 2024 02:46:21 +0000 Received: from localhost ([127.0.0.1]:59642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbADM-0008P0-QP for submit@debbugs.gnu.org; Mon, 05 Aug 2024 22:46:21 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:51746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbADJ-0008OL-8q for 72457@debbugs.gnu.org; Mon, 05 Aug 2024 22:46:19 -0400 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=dvzTZOm+vMFucl6w1QKb00QcbYIUNFnW6/QIhO321NMN9PC5oYDOV2WhA8FB08nh+J86+Mc2mHimmTUJqewlFnuxxK7T5JDVHJ+VF3Uu2uVYynzNywG1MrsSZEGw4pKOCEDe4JNuxObvTlQX1zmL3Q8pMDgEpg4jzcJEHNM671yypWdbZPYAy+U6OKq/D76DXxC8okN3IiaH0zqpqPfZjTvEQBdTRWww+8h9v/Jk8M5iD8J+immkGmhynzCnHX1wPoXtM8OvE+J5q+rMgsm6wAcnQRX0KdNk6sga5aI7+FRl/T8Onc03um8L09BOA2rW0oAaDwYnR3R+fpbfVMkQGA==; s=purelymail3; d=lunabee.space; v=1; bh=Kssl74aYHnmzaMIEsqOUY1lv5GqAKFCM7en8e5F1Ms4=; h=Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=ppBXYPAA9sYRoHsJcap9cyXefIWuCEQxPi/xiqVjX4Pymo9x7/gCsNOG7cT9dRb692hfk4BoPoti4LotRT7gnW1zp0tXblNq16gNmEAOA3pWStBLfn+FYIhATw3Zri/NNHT+bZJtYwMI3PV9M9Khgwe0z1k68kadQX7uZDwIsI6uEWkeFBKnvE+ZuZYuB5cCk8wXi2EmLLW/kHSjCQrD6vX2rrdU3OUk0IMlEJuTi1mZ/KvYVuvqK7tpL5DUeoxPOSHXrTTtnAuYKgksWRaiHXqTu6F/eeJl7zMg27eorWFFFU98XfBGTKjcMI6BapSX0CShb76+gYMdAtiLWlfWLQ==; s=purelymail3; d=purelymail.com; v=1; bh=Kssl74aYHnmzaMIEsqOUY1lv5GqAKFCM7en8e5F1Ms4=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 72457@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1040940465; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Tue, 06 Aug 2024 02:45:47 +0000 (UTC) Date: Mon, 5 Aug 2024 21:44:41 -0500 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail 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: , X-Patchwork-Original-From: Lilah Tascheter via Guix-patches From: Lilah Tascheter Reply-To: Lilah Tascheter Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * guix/scripts/system.scm (bootloader-installer-script): Delete. Change-Id: Ic1e0a523c814e4f1bf44b2721f5658f00066b0ab --- guix/scripts/system.scm | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index bb7b5d37bf..344bb74151 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -731,28 +731,6 @@ (define (maybe-suggest-running-guix-pull) (warning (G_ "Consider running 'guix pull' before 'reconfigure'.~%")) (warning (G_ "Failing to do that may downgrade your system!~%")))) -(define (bootloader-installer-script installer - bootloader device target) - "Return a file calling INSTALLER gexp with given BOOTLOADER, DEVICE -and TARGET arguments." - (scheme-file "bootloader-installer" - (with-imported-modules '((gnu build bootloader) - (guix build utils)) - #~(begin - (use-modules (gnu build bootloader) - (guix build utils) - (ice-9 binary-ports) - (srfi srfi-34) - (srfi srfi-35)) - - (guard (c ((message-condition? c) ;XXX: i18n - (format (current-error-port) "error: ~a~%" - (condition-message c)) - (exit 1))) - (#$installer #$bootloader #$device #$target) - (info (G_ "bootloader successfully installed on '~a'~%") - #$device)))))) - (define (local-eval exp) "Evaluate EXP, a G-Expression, in-place." (mlet* %store-monad ((lowered (lower-gexp exp))