From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8BVWKyxSwV9LfgAA0tVLHw (envelope-from ) for ; Fri, 27 Nov 2020 19:23:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MEQtJyxSwV+tWAAA1q6Kng (envelope-from ) for ; Fri, 27 Nov 2020 19:23:24 +0000 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 4E6B6940503 for ; Fri, 27 Nov 2020 19:23:24 +0000 (UTC) Received: from localhost ([::1]:58284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kijKz-0002Uv-S6 for larch@yhetil.org; Fri, 27 Nov 2020 14:23:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiisG-0002UQ-Rt for help-guix@gnu.org; Fri, 27 Nov 2020 13:53:41 -0500 Received: from mout-p-202.mailbox.org ([2001:67c:2050::465:202]:25536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1kiisC-0006eE-Ea for help-guix@gnu.org; Fri, 27 Nov 2020 13:53:40 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4CjP0Y2M1lzQlR6 for ; Fri, 27 Nov 2020 19:53:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-language:content-type :content-type:mime-version:date:date:message-id:subject:subject :from:from:received; s=mail20150812; t=1606503212; bh=u4iloZcdaY vMZ7vBqU2tguDHYm6GWc6bw9zYMOWos4c=; b=F9I2B3yP520dy+Ovc43pJbsmo4 1kUuHkeb2Dz2pD9Ko5Sv9N+dzdenLPxrNklaTw5aeaREwgt5a9cuU3ogaft8cieE xidK6VKas4m7nInN9KFGhd924abkOokwwaOPSgG2Ci+iBoRSoPVZSQ1vZL61CN0f FPo2FL5C3r8apITv1F0fXALNjWS8Hks1kt0Rhnk3xUNq7l0Syi/88yFSbFZnDzk+ q5F410omLWm21MaS6CPG+gePlndHPDUicegza3XsZD4N8yx/m93vhGb1wV6KtVF+ pDbV55BnHIDkwKtQdE5zBn6TLTsNU+Hn5MWwStwcqeIsIX75r2KAjVAOTDlw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1606503213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7vC9GoR/+ezUWlYVQs41sDCZbiwKT4Fy9GdPzlAVItk=; b=mtM4VyOGvO4Ls8WcxEF8x46lzBoOAgWPVHs0dtE5AilVVvPh7uHNprLmPXv+02Q+P3oOrg 5SZRCxm+9Ttow7bI69pDx27p0+xpLGsXFQfmVGHRjQSLoOWpadqz9ATuUS+vqPVftWSR+s bnTpePpYwz7J6ArX2aPK3JWaLXvdubJPc61l5nI426AwXR6NfNw72wdrhaPwYlpNi9Sa89 tt4RYfLukxMVw/MThcWN8+8U0JzC7KA9i7IsdPsjfZvY2xdky/MHHwO6l1Mk1ca40CILfK 073nzHrQsjYwppgBw2vmeBy6RtJOEXXk7saEHIDDBRAnRYaLCxDiIIWULmeTcw== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id vV-CAF85WYIL for ; Fri, 27 Nov 2020 19:53:32 +0100 (CET) To: help-guix@gnu.org From: =?UTF-8?B?VG9tw6FzIE9ydMOtbiBGZXJuw6FuZGV6?= Subject: Making file writable Message-ID: <0dc1dbd8-91c6-6f95-7e60-e1ed4514f255@mailbox.org> Date: Fri, 27 Nov 2020 19:53:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -2.57 / 15.00 / 15.00 X-Rspamd-Queue-Id: 1E289263 X-Rspamd-UID: 270c74 Received-SPF: pass client-ip=2001:67c:2050::465:202; envelope-from=tomasortin@mailbox.org; helo=mout-p-202.mailbox.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 27 Nov 2020 14:22:53 -0500 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.97 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=F9I2B3yP; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=mtM4VyOG; dmarc=pass (policy=reject) header.from=mailbox.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-TUID: rmsvDdThawUu I'm trying to pack the updated version of rubocop (1.4.2). The problem is that a patch must be applied, and it affects two files that aren't writable, .rubocop.yml and .rubocop_todo.yml. I've tried making it writable after unpacking: (arguments ... ... (add-after 'unpack 'make-yml-files-writable (lambda _ (let ((yml-files (find-files "\\.yml$"))) (for-each make-file-writable yml-files)) #t)) ...) I've tried as well doing it with a snippet: (source ... ... (modules '((guix build utils))) (snippet '(begin (for-each (make-file-writable (find-files "\\.yml$"))) #t)) ...) However, I haven't been successful and the files remain non-writable when the patch is applied. What am I doing wrong? Tomás