From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH] gnu: Simplify dtc package definition. Date: Thu, 8 Sep 2016 21:32:14 +0200 Message-ID: <20160908213214.3e61c266@scratchpost.org> References: <20160907074631.3771-1-dannym@scratchpost.org> <20160907110141.3b27eca7@scratchpost.org> <20160908195539.4d47016d@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi53h-0000pn-2Z for guix-devel@gnu.org; Thu, 08 Sep 2016 15:32:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi53c-0000HW-TH for guix-devel@gnu.org; Thu, 08 Sep 2016 15:32:24 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:52237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi53c-0000HS-L5 for guix-devel@gnu.org; Thu, 08 Sep 2016 15:32:20 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel Hi, I think that's because I set it up to use attachments (Luda asked me to). The E-Mail, raw as git send-email sent it, looks like this: =46rom 7e7c30119aebab0ee48c4e55d8c7471f0fde487c Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Wed, 7 Sep 2016 09:44:55 +0200 Subject: [PATCH] gnu: Simplify dtc package definition. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=3D"------------2.9.1" This is a multi-part message in MIME format. --------------2.9.1 Content-Type: text/plain; charset=3DUTF-8; format=3Dfixed Content-Transfer-Encoding: 8bit --- gnu/packages/u-boot.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) --------------2.9.1 Content-Type: text/x-patch; name=3D"0001-gnu-Simplify-dtc-package-definitio= n.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename=3D"0001-gnu-Simplify-dtc-package-= definition.patch" diff --git a/gnu/packages/u-boot.scm b/gnu/packages/u-boot.scm index e9a4b90..7949d8a 100644 --- a/gnu/packages/u-boot.scm +++ b/gnu/packages/u-boot.scm @@ -47,15 +47,11 @@ ("flex" ,flex))) (arguments `(#:make-flags - (list "CC=3Dgcc" (string-append "PREFIX=3D" (assoc-ref %outputs "ou= t"))) + (list "CC=3Dgcc" + (string-append "PREFIX=3D" (assoc-ref %outputs "out")) + "INSTALL=3Dinstall") #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-paths - (lambda _ - (substitute* "Makefile" - (("/usr/bin/install") "install")) - (substitute* "Makefile" - (("PREFIX =3D \\$\\(HOME\\)") "")))) (delete 'configure)))) (home-page "https://www.devicetree.org") (synopsis "Compiles device tree source files") --------------2.9.1-- Note the MIME header. I tried $ git am ~/src/outgoing-dtc/0001-gnu-Simplify-dtc-package-definition.patch Applying: gnu: Simplify dtc package definition. So it seems to work.