Skip to content

Instantly share code, notes, and snippets.

@lfam
lfam / linux.scm
Created May 17, 2019
Guix package for regular mainline stable Linux kernel
View linux.scm
(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 "https://cdn.kernel.org/pub/linux/kernel/"
"v" (string-take version 1) ".x/"
"linux-" version ".tar.xz"))
You can’t perform that action at this time.