mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-23 08:58:08 +01:00
62a5df4222
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224 * *.scm: Use SPDX license identifier and remove obsolete license statement.
31 lines
1.1 KiB
Scheme
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"))))))
|