utils: rosenthal-transformation-zfs: Don't use package variant for ZFS module.

It's already handled by ‘linux-builder-configuration->system-entry’.

* modules/rosenthal/utils/transformations.scm (rosenthal-transformation-zfs)
[kernel-loadable-modules]: Use unmodified zfs:module.
This commit is contained in:
Hilton Chain 2026-02-18 21:03:34 +08:00
parent 50d720a1de
commit f536df13ce
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -75,11 +75,7 @@
(inherit os) (inherit os)
(kernel-loadable-modules (kernel-loadable-modules
`(,@(if boot? `(,@(if boot?
`((,(package/inherit zfs `((,zfs "module"))
(arguments
(substitute-keyword-arguments (package-arguments zfs)
((#:linux _ #f) (operating-system-kernel os)))))
"module"))
'()) '())
,@(operating-system-kernel-loadable-modules os))) ,@(operating-system-kernel-loadable-modules os)))
(services (services