summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2026-03-29 01:00:00 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2026-03-29 01:00:00 +0100
commit09fc9aa7f2dec0c546e980c0cb18ae2a23dba942 (patch)
tree3dfe37d759456d4af009fc30731437096813a7a6 /gnu
parente0c2faf7160df763b4c5363ac35456305854b091 (diff)
gnu: bcachefs-linux-module: Fix build with linux-libre-6.18.
Previously, the actual bcachefs.ko.zst was missing. * gnu/packages/file-systems.scm (bcachefs-linux-module)[arguments]: Set #:make-flags and honour them in the 'prepare-build-directory phase (renamed to avd. p'ntless abbr.). Fixes: #6601 Change-Id: I9df0396bda73421bf1233491a6e7eace40073c51
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/file-systems.scm15
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 82d29668dc4..0caa977ece0 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -982,7 +982,8 @@ minimal bcachefs-tools package. It is meant to be used in initrds.")
(build-system linux-module-build-system)
(arguments
(list
- #:tests? #f ;no 'check' target
+ #:make-flags #~(list "BCACHEFS_DKMS=1")
+ #:tests? #f ;no 'check' target
#:source-directory "build/src/fs/bcachefs"
#:phases
#~(modify-phases %standard-phases
@@ -997,11 +998,13 @@ minimal bcachefs-tools package. It is meant to be used in initrds.")
;; Remove unnecessary dependencies
(("^.*PKG_CONFIG.*$")
""))))
- (add-before 'configure 'prepare-build-dir
- (lambda _
- (invoke "make" "install_dkms"
- (string-append "DESTDIR="
- (getcwd) "/") "DKMSDIR=build/"))))))
+ (add-before 'configure 'prepare-build-directory
+ (lambda* (#:key make-flags #:allow-other-keys)
+ (apply invoke "make" "install_dkms"
+ (string-append "DESTDIR="
+ (getcwd) "/")
+ "DKMSDIR=build/"
+ make-flags))))))
(home-page (package-home-page bcachefs-tools-minimal/static))
(synopsis "Bcachefs Linux kernel module")
(description