From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDye6-00029M-0T for guix-patches@gnu.org; Thu, 25 May 2017 15:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDye2-0003R5-TW for guix-patches@gnu.org; Thu, 25 May 2017 15:42:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35467) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDye2-0003Qf-Qc for guix-patches@gnu.org; Thu, 25 May 2017 15:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDye2-0001r0-Fy for guix-patches@gnu.org; Thu, 25 May 2017 15:42:02 -0400 Subject: bug#27073: [PATCH] gnu: Add cpuid. Resent-To: guix-patches@gnu.org Resent-Message-ID: References: <20170525182349.22612-1-clement@lassieur.org> <87o9ugvkav.fsf@fastmail.com> From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur In-reply-to: <87o9ugvkav.fsf@fastmail.com> Date: Thu, 25 May 2017 21:41:00 +0200 Message-ID: <87o9ugragj.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Marius Bakke Cc: 27073-done@debbugs.gnu.org Marius Bakke writes: > Clément Lassieur writes: > >> * gnu/packages/linux.scm (cpuid): New variable. > > [...] > >> + #:phases (modify-phases %standard-phases >> + (delete 'configure) >> + (add-before 'install 'fix-makefile >> + (lambda* (#:key outputs #:allow-other-keys) >> + (substitute* "Makefile" >> + (("\\$\\(BUILDROOT\\)/usr") (assoc-ref outputs "out"))) >> + (substitute* "Makefile" >> + (("-m 444") "-m 644")) > > Why is this necessary? Perhaps you can add a comment? I added: ;; Make the compressed manpages writable so that the ;; reset-gzip-timestamps phase does not error out. > LGTM otherwise. Thanks for the review :-) Pushed.