nonguix/nongnu/packages/firmware.scm
Jonathan Brielmaier 62a5df4222
*.scm: Use SPDX license identifiers.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224

* *.scm: Use SPDX license identifier and remove obsolete license
statement.
2022-12-19 17:17:39 +01:00

31 lines
1.1 KiB
Scheme

;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
(define-module (nongnu packages firmware)
#:use-module (gnu packages efi)
#:use-module (gnu packages firmware)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils))
;; fwupd with LVFS nonfree repositories enabled
(define-public fwupd-nonfree
(package
(inherit fwupd)
(name "fwupd-nonfree")
(arguments
(substitute-keyword-arguments (package-arguments fwupd)
((#:configure-flags _
#~'())
#~(list "--wrap-mode=nofallback"
"-Dsystemd=false"
(string-append "-Defi_os_dir="
#$gnu-efi "/lib")
"-Defi_binary=false"
(string-append "-Dudevdir="
#$output "/lib/udev")
"--localstatedir=/var"
(string-append "--libexecdir="
#$output "/libexec")
"-Dsupported_build=true"))))))