From patchwork Mon Mar 21 12:17:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 37969 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 ABB7227BBEA; Mon, 21 Mar 2022 12:18:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 7341827BBE9 for ; Mon, 21 Mar 2022 12:18:54 +0000 (GMT) Received: from localhost ([::1]:54256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWGzt-0007AZ-IK for patchwork@mira.cbaines.net; Mon, 21 Mar 2022 08:18:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWGz4-00077K-DW for guix-patches@gnu.org; Mon, 21 Mar 2022 08:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWGz4-0000RI-51 for guix-patches@gnu.org; Mon, 21 Mar 2022 08:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWGz4-0007Mm-1M for guix-patches@gnu.org; Mon, 21 Mar 2022 08:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54471] [PATCH core-updates v2 2/3] build: font-build-system: Do not return #t from phases. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Mar 2022 12:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , Arun Isaac , 54471@debbugs.gnu.org Received: via spool by 54471-submit@debbugs.gnu.org id=B54471.164786504728239 (code B ref 54471); Mon, 21 Mar 2022 12:18:01 +0000 Received: (at 54471) by debbugs.gnu.org; 21 Mar 2022 12:17:27 +0000 Received: from localhost ([127.0.0.1]:36060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWGyU-0007LN-VJ for submit@debbugs.gnu.org; Mon, 21 Mar 2022 08:17:27 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWGyT-0007L1-TD for 54471@debbugs.gnu.org; Mon, 21 Mar 2022 08:17:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SWQp4Kx0ofIDZGxkXHpRUekxrcWSLLWV/+qWkPgiOs4=; b=ZcatYGfPVeMs7v1lTT93ZAB/hh 3DUEoGVKHgH5qFBTXvZ7RzVxFTM5laKIq7+ip0llh5tzb/f+lwhJkOLXqqscqXVQFThgZmrCM8427 sOT2duLOllZtJqOeW39cdNxgavpt+XQCQBFwWi7+er/JSNC5E5y+X6P6DX6EQBxjRabgGV6DMiJYK bDnNtokDheSfm/QbCdqOnonlApLQ6c9dPIQVyU8Dc2MAa5aYmDm4L3CiqLxOlk7yXMYllcZmDw9+n aQrM4wnVd26kP/kpz0OXlCD2G8UlDQtWIgkTuhX58CNt/iX0X4L9hixP/pDY7sYB/PCsSOAs+R6Bb iO0uCQFw==; Received: from [192.168.2.1] (port=5304 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nWGyR-00023f-Ks; Mon, 21 Mar 2022 17:47:23 +0530 From: Arun Isaac Date: Mon, 21 Mar 2022 17:47:21 +0530 Message-Id: <20220321121722.12575-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * guix/build/font-build-system.scm (unpack, install): Do not return #t from phases. --- guix/build/font-build-system.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm index 9bd9524a7d..e4784bc17d 100644 --- a/guix/build/font-build-system.scm +++ b/guix/build/font-build-system.scm @@ -41,8 +41,7 @@ (define* (unpack #:key source #:allow-other-keys) (begin (mkdir "source") (chdir "source") - (copy-file source (strip-store-file-name source)) - #t) + (copy-file source (strip-store-file-name source))) (gnu:unpack #:source source))) (define* (install #:key outputs #:allow-other-keys) @@ -55,8 +54,7 @@ (define* (install #:key outputs #:allow-other-keys) (for-each (cut install-file <> (string-append fonts "/opentype")) (find-files source "\\.(otf|otc)$")) (for-each (cut install-file <> (string-append fonts "/web")) - (find-files source "\\.(woff|woff2)$")) - #t)) + (find-files source "\\.(woff|woff2)$")))) (define %standard-phases (modify-phases gnu:%standard-phases