radix/modules/radix/packages/linux.scm

23 lines
882 B
Scheme

(define-module (radix packages linux)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (gnu packages linux))
(define-public thinkfan-next
(package
(inherit thinkfan)
(arguments
(list #:modules '((guix build cmake-build-system)
(guix build utils)
(srfi srfi-26))
#:tests? #f
#:configure-flags #~(list "-DUSE_ATASMART:BOOL=ON")
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'create-init-scripts
(lambda _
(substitute* "CMakeLists.txt"
(("pkg_check_modules\\((SYSTEMD|OPENRC).*" _)
"")
(("/etc" directory)
(string-append #$output directory))))))))))