rosenthal: linux-cachyos: Really make substitutable.

Follow-up to 625844a768b0aa4b3739d2c88c057dacfebcf314.
This commit is contained in:
Hilton Chain committed 2026-10-05 11:54:18 +08:00
1 parent 641f1fbd71
commit 34502202bf
1 file changed
+20 -22
+20 -22
View File
@@ -295,19 +295,10 @@
(file-append source path))) (file-append source path)))
(define-public linux-cachyos-lts-server (define-public linux-cachyos-lts-server
(let ((version "6.18.55-1")) (let* ((version "6.18.55-1")
(linux-with-zfs (kernel
(customize-linux (customize-linux
#:name "linux-cachyos-lts-server" #:name "linux-cachyos-lts-server"
#:linux
(hidden-package
(package
(inherit linux-libre)
(version version)
(arguments
(substitute-keyword-arguments arguments
((#:substitutable? _ #f) #t)))
(supported-systems '("x86_64-linux"))))
#:source #:source
(origin (origin
(method url-fetch) (method url-fetch)
@@ -332,22 +323,21 @@
#:hugepage 'always #:hugepage 'always
#:processor-opt 'generic) #:processor-opt 'generic)
(default-initrd-configs)) (default-initrd-configs))
"\n"))))) "\n"))))
(define-public linux-cachyos-bore-zen4
(let ((version "7.2.9-2"))
(linux-with-zfs
(customize-linux
#:name "linux-cachyos-bore-zen4"
#:linux
(hidden-package (hidden-package
(package (package
(inherit linux-libre) (inherit (linux-with-zfs kernel))
(version version) (version version)
(arguments (arguments
(substitute-keyword-arguments arguments (substitute-keyword-arguments arguments
((#:substitutable? _ #f) #t))) ((#:substitutable? _ #f) #t)))
(supported-systems '("x86_64-linux")))) (supported-systems '("x86_64-linux"))))))
(define-public linux-cachyos-bore-zen4
(let* ((version "7.2.9-2")
(kernel
(customize-linux
#:name "linux-cachyos-bore-zen4"
#:source #:source
(origin (origin
(method url-fetch) (method url-fetch)
@@ -373,4 +363,12 @@
#:hugepage 'always #:hugepage 'always
#:processor-opt 'zen4) #:processor-opt 'zen4)
(default-initrd-configs)) (default-initrd-configs))
"\n"))))) "\n"))))
(hidden-package
(package
(inherit (linux-with-zfs kernel))
(version version)
(arguments
(substitute-keyword-arguments arguments
((#:substitutable? _ #f) #t)))
(supported-systems '("x86_64-linux"))))))