emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59074: closed ([PATCH] build-system/linux-module: Add #:source-direc


From: GNU bug Tracking System
Subject: bug#59074: closed ([PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross.)
Date: Mon, 07 Nov 2022 20:03:02 +0000

Your message dated Mon, 07 Nov 2022 21:00:09 +0100
with message-id <87mt92o7nr.fsf@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@gnu.org.)


-- 
59074: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59074
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross. Date: Sun, 6 Nov 2022 10:13:17 +0100
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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#59074] [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross. Date: Mon, 07 Nov 2022 21:00:09 +0100 User-agent: mu4e 1.8.9; emacs 28.1
Christopher Baines <mail@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

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]