guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 09d35b114da8893eacb2f9f2c9c119b7be735b1d
Author: Ahmad Draidi <[email protected]>
AuthorDate: Sat Jan 17 20:30:59 2026 +0400

    gnu: bcachefs-linux-module: Update to 1.35.1.
    
    * gnu/packages/file-systems.scm (bcachefs-linux-module): Update to 1.35.1.
    [arguments]<#:phases>{add-version}: New phase.
    {patch-source}: Simplify accordingly.
    
    Change-Id: I42a7a23990aea4631d4c632470213a9461f16750
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/file-systems.scm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 6c73632bd3..283f756fc0 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -955,7 +955,7 @@ minimal bcachefs-tools package.  It is meant to be used in 
initrds.")
 (define-public bcachefs-linux-module
   (package
     (name "bcachefs-linux-module")
-    (version "1.33.0")
+    (version "1.35.1")
     (source
      (origin
        (method git-fetch)
@@ -964,7 +964,7 @@ minimal bcachefs-tools package.  It is meant to be used in 
initrds.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "05lqw3mxi73nm1q4qv43p9hyiwi2hdx4nc9fzm7rxwip6ys1kqkd"))))
+        (base32 "1jn7fqlvhr0iazfx31wamvmf3qmgrzlf9ghvz8qazk8b6ipv77fn"))))
     (build-system linux-module-build-system)
     (arguments
      (list
@@ -972,13 +972,14 @@ minimal bcachefs-tools package.  It is meant to be used 
in initrds.")
       #:source-directory "build/src/fs/bcachefs"
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'add-version
+            (lambda _
+              (with-output-to-file ".version"
+                (lambda ()
+                  (display #$version)))))
           (add-after 'unpack 'patch-source
-            (lambda* (#:key version #:allow-other-keys)
+            (lambda _
               (substitute* "Makefile"
-                ;; Remove unnecessary dependency on cargo
-                (("^VERSION=\\$.*$")
-                 (string-append "VERSION=\""
-                                #$version "\""))
                 ;; Remove unnecessary dependencies
                 (("^.*PKG_CONFIG.*$")
                  ""))))

Reply via email to