GNU bug report logs -
#59074
[PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Sun, 6 Nov 2022 09:14:01 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 07 Nov 2022 21:00:09 +0100
with message-id <87mt92o7nr.fsf <at> cbaines.net>
and subject line Re: [bug#59074] [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross.
has caused the debbugs.gnu.org bug report #59074,
regarding [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
59074: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59074
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Otherwise computing cross-compilation derivations for packages (e.g. xpadneo)
using the #:source-directory argument fails with this error:
Unrecognized keyword: #:source-directory
* guix/build-system/linux-module.scm (linux-module-build-cross): Support
#:source-directory.
---
guix/build-system/linux-module.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guix/build-system/linux-module.scm b/guix/build-system/linux-module.scm
index 94a293da13..d6c369d65d 100644
--- a/guix/build-system/linux-module.scm
+++ b/guix/build-system/linux-module.scm
@@ -210,6 +210,7 @@ (define* (linux-module-build-cross
(tests? #f)
(phases '%standard-phases)
(system (%current-system))
+ (source-directory ".")
(substitutable? #t)
(imported-modules
%linux-module-build-system-modules)
@@ -229,6 +230,7 @@ (define %build-target-inputs
(linux-module-build #:name #$name
#:source #+source
+ #:source-directory #$source-directory
#:system #$system
#:target #$target
#:arch #$(system->arch (or target system))
--
2.37.3
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:
> Otherwise computing cross-compilation derivations for packages (e.g. xpadneo)
> using the #:source-directory argument fails with this error:
>
> Unrecognized keyword: #:source-directory
>
> * guix/build-system/linux-module.scm (linux-module-build-cross): Support
> #:source-directory.
> ---
> guix/build-system/linux-module.scm | 2 ++
> 1 file changed, 2 insertions(+)
I've gone ahead and pushed this as
da21c5d45f418103bb39061787c90920ee3f36d8.
Chris
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 254 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.