diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2016-11-27 19:00:57 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2016-11-27 19:00:57 +0100 |
commit | 1bf5a7e920bb6bf7f8bd1815df17cfba5a987619 (patch) | |
tree | 6e6ac253cc721ee0a61c5d4836bd223eb75ae16b /gnu/packages/gcc.scm | |
parent | bac640997072a3f1b729eaa7df04d94bd0675bb0 (diff) | |
download | gnu-guix-1bf5a7e920bb6bf7f8bd1815df17cfba5a987619.tar gnu-guix-1bf5a7e920bb6bf7f8bd1815df17cfba5a987619.tar.gz |
gnu: gcj: Inherit source field from "gcc".
* gnu/packages/gcc.scm (gcj)[source]: Inherit source from "gcc" package.
Diffstat (limited to 'gnu/packages/gcc.scm')
-rw-r--r-- | gnu/packages/gcc.scm | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 7ff6e3c56f..4d93317785 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) |