From 352928bc8cfd409adbb630f0948c7cce319269ef Mon Sep 17 00:00:00 2001
From: Pierre Neidhardt <mail@ambrevar.xyz>
Date: Fri, 11 Nov 2022 10:20:26 +0100
Subject: [PATCH] gnu: bbswitch-module: Update to 20211129.
* gnu/packages/linux.scm (bbswitch-module): Update to 20211129.
[arguments]: Build using linux-5.15 as it fails to build with Linux >= 5.19.
---
gnu/packages/linux.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
@@ -1442,10 +1442,10 @@ (define-public vhba-module
(define-public bbswitch-module
;; Use "develop" branch since stable release does not build on Linux >= 5.6.
;; See https://github.com/Bumblebee-Project/bbswitch/issues/205.
- (let ((commit "ddbd243638c7bc2baecf43a78aff46cdc12e9b2e"))
+ (let ((commit "23891174a80ea79c7720bcc7048a5c2bfcde5cd9"))
(package
(name "bbswitch-module")
- (version (git-version "0.8" "1" commit))
+ (version (git-version "0.8" "2" commit))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1454,10 +1454,13 @@ (define-public bbswitch-module
(file-name (git-file-name name version))
(sha256
(base32
- "1pgldnza7mzd0flrxg4q69dwbq1fhl58m5c62ary5drb0xyf3lqb"))))
+ "0da7arxarq8id5i8qychrliz3wkc05l2mknisn44drm62wkzajz7"))))
(build-system linux-module-build-system)
(arguments
- (list #:tests? #f)) ; no test suite
+ (list
+ #:tests? #f ; no test suite
+ ;; Does not work on Linux >= 5.19.
+ #:linux linux-libre-5.15))
(home-page "https://github.com/Bumblebee-Project/bbswitch")
(synopsis "Kernel module that disables discrete Nvidia graphics cards")
(description "The bbswitch module provides a way to toggle the Nvidia
base-commit: c37b6fba1af0d823bd18c753484459b40fc8c041
--
2.38.0