Skip to content

Instantly share code, notes, and snippets.



Created May 17, 2019
What would you like to do?
Guix package for regular mainline stable Linux kernel
(define-module (my packages linux)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (gnu packages linux))
(define (linux-url version)
"Return a download URL for Linux VERSION."
(string-append ""
"v" (string-take version 1) ".x/"
"linux-" version ".tar.xz"))
(define-public linux
(inherit linux-libre)
(name "linux")
(version "5.1.1")
(source (origin
(method url-fetch)
(uri (linux-url version))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.