guix-packages/linux-custom: Init

master
Pierre Neidhardt 2018-09-19 11:33:52 +02:00
parent c078fbe04d
commit 3161450b3c
2 changed files with 4401 additions and 0 deletions

View File

@ -0,0 +1,36 @@
(define-module (linux-custom)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages linux)
#:use-module (srfi srfi-1))
;; (define-public linux-custom
;; (package
;; (inherit linux-libre)
;; (name "linux-custom")
;; (native-inputs
;; `(("kconfig" ,(local-file "./linux-custom.conf"))
;; ,@(alist-delete "kconfig" (package-native-inputs linux-libre))))))
(define-public linux-nonfree
(package
(inherit linux-libre)
(name "linux-nonfree")
(version (package-version linux-libre-4.14))
(source
(origin
(method url-fetch)
(uri
(string-append
"https://www.kernel.org/pub/linux/kernel/v4.x/"
"linux-" version ".tar.xz"))
(sha256
(base32
;; "0c88p5vly63jsz62ff7971zl6vqzzbv5q519gi8z17ld66sf5063" ; 4.14.33
;; "0jwa2r3gpn4ahy38730b7g4xzavfqwxxwgyfhpn5ssvzsc4934gs" ; 4.16.6
"1w0r7g04q9ac14krm5dmvl8sv88avsmdirvnfk964cz3n3xxbgb1" ; 4.14.69
))))
(native-inputs
`(("kconfig" ,(local-file "./linux-custom.conf"))
,@(alist-delete "kconfig" (package-native-inputs linux-libre))))))

File diff suppressed because it is too large Load Diff