mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cross-base: Fix PACKAGE-WITH-EXTRA-PATCHES
This also removes the execute bit from the patches added. Not sure how or why those were set in the first place. * gnu/packages/cross-base.scm (package-with-extra-patches): Imitate PACKAGE-WITH-PATCH instead of using it. * gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch: Remove execute bit. * gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch: Remove execute bit.
This commit is contained in:
parent
e7a353ed46
commit
c1c50cb5b0
3 changed files with 6 additions and 4 deletions
|
@ -76,11 +76,13 @@
|
||||||
(source (origin (inherit (package-source original))
|
(source (origin (inherit (package-source original))
|
||||||
(patches (list patch))))))
|
(patches (list patch))))))
|
||||||
|
|
||||||
(define (package-with-extra-patches original patches)
|
(define (package-with-extra-patches original extra-patches)
|
||||||
"Return package ORIGINAL with all PATCHES appended to its list of patches."
|
"Return package ORIGINAL with all PATCHES appended to its list of patches."
|
||||||
(package-with-patch original
|
(let ((original-origin (package-source original)))
|
||||||
`(,@(origin-patches (package-source original))
|
(package (inherit original)
|
||||||
,@patches)))
|
(source (origin (inherit original-origin)
|
||||||
|
(patches `(,@extra-patches
|
||||||
|
,@(origin-patches original-origin))))))))
|
||||||
|
|
||||||
(define (cross-binutils target)
|
(define (cross-binutils target)
|
||||||
"Return a cross-Binutils for TARGET."
|
"Return a cross-Binutils for TARGET."
|
||||||
|
|
0
gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch
Executable file → Normal file
0
gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch
Executable file → Normal file
0
gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch
Executable file → Normal file
0
gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue