From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 1g+0BV1SwV/qBgAA0tVLHw (envelope-from ) for ; Fri, 27 Nov 2020 19:24:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cIcRAV1SwV9lTwAAbx9fmQ (envelope-from ) for ; Fri, 27 Nov 2020 19:24:13 +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 A0AB294036A for ; Fri, 27 Nov 2020 19:24:12 +0000 (UTC) Received: from localhost ([::1]:60560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kijLn-0003Tc-Ir for larch@yhetil.org; Fri, 27 Nov 2020 14:24:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiiK3-0000j0-DN for help-guix@gnu.org; Fri, 27 Nov 2020 13:18:19 -0500 Received: from mout-p-202.mailbox.org ([2001:67c:2050::465:202]:24392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1kiiK1-0003An-02 for help-guix@gnu.org; Fri, 27 Nov 2020 13:18:19 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (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 4CjNCm5BYPzQlRP for ; Fri, 27 Nov 2020 19:18:12 +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=1606501089; bh=u4iloZcdaY vMZ7vBqU2tguDHYm6GWc6bw9zYMOWos4c=; b=m5xrplNSDrWvdL+Fuwpu9f/oph x29njPv+ggSMJ2MIu7azQWrd0XnIuHF1r5mPKgQa8iXEIEO9cmgrjaJmxAAkT6/B 7VDpDhobm054RqI+EcJhQF+fec8XoW2azMUNwkyseBzBLydP7t6VIRxJ2+T+l7b+ U+ZCu9xhulw0NQ1/AT/krNyHTCPX8VnFMmKHP8Ot5VOvxQ7AAvPFR3/CpngFQgGF pG6/aswc9xWwIeFCo76GgRONlMcjpqnEdquR84y2BYV3hYF0Ug1LlPNzR/rUL+FH CmeYr4JH3067Z0tz7C4HtbBUuWv1bLfwg47LJMxbBoh4P7l8EoR2zhLFUNbw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1606501090; 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=jEDvAlfwFpt5vOyre/+zDvAJPyUtfSNZtKQwOCFbCMogp/4b4Ci03If+RreHYz9Ik4eUv2 VeWOzX+orV7JfBg3JqvDv14GEw4iL00+uowUbOmSWZK8Gy+u5sA2Xt3AgZGfne6VMiseZe mszCF3OPjN1azJEZMZc/QLXCiw66vYdtIbw4jv6LKiJUpWtK9iMU40Jc4wuGVxV1pjAkUI wSWgwUVGmhrzswRiy6jh/+DYeYMypcFrKReHcIt+0p6otC6DqimoxLZaluqnOcU5SA3Wl5 8QyFTHgImizgxE8lP0wUR1qkqzDVn9Jr/hVhQ464SABGkQIzm4JYtjyUwb4Dlg== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id 8HeKeF-ALwbY for ; Fri, 27 Nov 2020 19:18:09 +0100 (CET) To: help-guix@gnu.org From: =?UTF-8?B?VG9tw6FzIE9ydMOtbiBGZXJuw6FuZGV6?= Subject: Making file writable Message-ID: <569c6834-adc0-d2c3-d4a8-7b0da0501c5f@mailbox.org> Date: Fri, 27 Nov 2020 19:18:08 +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.16 / 15.00 / 15.00 X-Rspamd-Queue-Id: BC10F1713 X-Rspamd-UID: 9b996b 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=m5xrplNS; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=jEDvAlfw; 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: wDkeTiBK3ZD3 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