mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: cross-base: Fix some indentation problems.
* gnu/packages/cross-base.scm (cross-binutils): Fix indentation. (cross-kernel-headers): Align 'inherit' fields of nested package variables. (cross-gcc): Fix indentation.
This commit is contained in:
parent
234190df00
commit
d4c2ea9226
1 changed files with 86 additions and 76 deletions
|
@ -76,7 +76,8 @@ (define (cross p target)
|
|||
|
||||
(define* (cross-binutils target #:optional (binutils binutils))
|
||||
"Return a cross-Binutils for TARGET using BINUTILS."
|
||||
(let ((binutils (package (inherit binutils)
|
||||
(let ((binutils (package
|
||||
(inherit binutils)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments
|
||||
binutils)
|
||||
|
@ -231,13 +232,15 @@ (define* (cross-gcc target
|
|||
XGCC as the base compiler. Use XBINUTILS as the associated cross-Binutils.
|
||||
If LIBC is false, then build a GCC that does not target a libc; otherwise,
|
||||
target that libc."
|
||||
(package (inherit xgcc)
|
||||
(package
|
||||
(inherit xgcc)
|
||||
(name (string-append "gcc-cross-"
|
||||
(if libc "" "sans-libc-")
|
||||
target))
|
||||
(source
|
||||
(origin
|
||||
(inherit (package-source xgcc))
|
||||
(inherit
|
||||
(package-source xgcc))
|
||||
(patches
|
||||
(append
|
||||
(origin-patches (package-source xgcc))
|
||||
|
@ -338,7 +341,8 @@ (define* (cross-kernel-headers target
|
|||
"Return headers depending on TARGET."
|
||||
|
||||
(define xlinux-headers
|
||||
(package (inherit linux-headers)
|
||||
(package
|
||||
(inherit linux-headers)
|
||||
(name (string-append (package-name linux-headers)
|
||||
"-cross-" target))
|
||||
(arguments
|
||||
|
@ -364,7 +368,8 @@ (define xlinux-headers
|
|||
,@(package-native-inputs linux-headers)))))
|
||||
|
||||
(define xgnumach-headers
|
||||
(package (inherit gnumach-headers)
|
||||
(package
|
||||
(inherit gnumach-headers)
|
||||
(name (string-append (package-name gnumach-headers)
|
||||
"-cross-" target))
|
||||
|
||||
|
@ -373,7 +378,8 @@ (define xgnumach-headers
|
|||
,@(package-native-inputs gnumach-headers)))))
|
||||
|
||||
(define xmig
|
||||
(package (inherit mig)
|
||||
(package
|
||||
(inherit mig)
|
||||
(name (string-append "mig-cross"))
|
||||
(arguments
|
||||
`(#:modules ((guix build gnu-build-system)
|
||||
|
@ -396,7 +402,8 @@ (define xmig
|
|||
,@(package-native-inputs mig)))))
|
||||
|
||||
(define xhurd-headers
|
||||
(package (inherit hurd-headers)
|
||||
(package
|
||||
(inherit hurd-headers)
|
||||
(name (string-append (package-name hurd-headers)
|
||||
"-cross-" target))
|
||||
|
||||
|
@ -406,7 +413,8 @@ (define xhurd-headers
|
|||
,@(alist-delete "mig"(package-native-inputs hurd-headers))))))
|
||||
|
||||
(define xglibc/hurd-headers
|
||||
(package (inherit glibc/hurd-headers)
|
||||
(package
|
||||
(inherit glibc/hurd-headers)
|
||||
(name (string-append (package-name glibc/hurd-headers)
|
||||
"-cross-" target))
|
||||
|
||||
|
@ -437,7 +445,8 @@ (define xglibc/hurd-headers
|
|||
,@(alist-delete "mig"(package-native-inputs glibc/hurd-headers))))))
|
||||
|
||||
(define xhurd-minimal
|
||||
(package (inherit hurd-minimal)
|
||||
(package
|
||||
(inherit hurd-minimal)
|
||||
(name (string-append (package-name hurd-minimal)
|
||||
"-cross-" target))
|
||||
(arguments
|
||||
|
@ -464,7 +473,8 @@ (define xhurd-minimal
|
|||
,@(alist-delete "mig"(package-native-inputs hurd-minimal))))))
|
||||
|
||||
(define xhurd-core-headers
|
||||
(package (inherit hurd-core-headers)
|
||||
(package
|
||||
(inherit hurd-core-headers)
|
||||
(name (string-append (package-name hurd-core-headers)
|
||||
"-cross-" target))
|
||||
|
||||
|
|
Loading…
Reference in a new issue