[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: gcj: Inherit source field from "gcc".
From: |
Ricardo Wurmus |
Subject: |
02/02: gnu: gcj: Inherit source field from "gcc". |
Date: |
Sun, 27 Nov 2016 18:08:00 +0000 (UTC) |
rekado pushed a commit to branch master
in repository guix.
commit 1bf5a7e920bb6bf7f8bd1815df17cfba5a987619
Author: Ricardo Wurmus <address@hidden>
Date: Sun Nov 27 19:00:57 2016 +0100
gnu: gcj: Inherit source field from "gcc".
* gnu/packages/gcc.scm (gcj)[source]: Inherit source from "gcc" package.
---
gnu/packages/gcc.scm | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 7ff6e3c..4d93317 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -522,15 +522,9 @@ as the 'native-search-paths' field."
(package (inherit gcc)
(name "gcj")
(version (package-version gcc))
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/gcc/gcc-"
- version "/gcc-" version ".tar.bz2"))
- (sha256
- (base32
- "0zmnm00d2a1hsd41g34bhvxzvxisa2l584q3p447bd91lfjv4ci3"))
- (patches (cons (search-patch "gcj-arm-mode.patch")
- (origin-patches (package-source gcc))))))
+ (source (origin (inherit (package-source gcc))
+ (patches (cons (search-patch "gcj-arm-mode.patch")
+ (origin-patches (package-source gcc))))))
(inputs
`(("fastjar" ,fastjar)
("perl" ,perl)