Compare commits

..
2 Commits
Author SHA1 Message Date
Hilton Chain 34502202bf rosenthal: linux-cachyos: Really make substitutable.
Follow-up to 625844a768b0aa4b3739d2c88c057dacfebcf314.
2026-10-05 11:54:18 +08:00
Hilton Chain 641f1fbd71 rosenthal: linux-cachyos: Make substitutable.
* modules/rosenthal/packages/linux.scm (linux-cachyos-lts-server)
(linux-cachyos-bore-zen4): Make substitutable.
2026-10-05 11:40:16 +08:00
+23 -19
View File
@@ -295,16 +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)
(supported-systems '("x86_64-linux"))))
#:source #:source
(origin (origin
(method url-fetch) (method url-fetch)
@@ -329,19 +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)
(supported-systems '("x86_64-linux")))) (arguments
(substitute-keyword-arguments arguments
((#:substitutable? _ #f) #t)))
(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)
@@ -367,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"))))))