Convert the repos.linux-surface-kernel set to a function
This commit is contained in:
parent
0099253ad0
commit
b32b188154
|
@ -1,10 +1,11 @@
|
||||||
{ lib, pkgs, fetchFromGitHub, fetchurl }: {
|
{ lib, pkgs, fetchFromGitHub, fetchurl }: {
|
||||||
linux-surface-kernel = fetchFromGitHub {
|
# This is the owner and repo for the pre-patched kernel from the "linux-surface" project:
|
||||||
owner = "linux-surface";
|
linux-surface-kernel = { rev, sha256 }:
|
||||||
repo = "kernel";
|
fetchFromGitHub {
|
||||||
rev = "db94c89f56d6ceae03ca3802e11197f48e6c539f";
|
owner = "linux-surface";
|
||||||
sha256 = "0c58ri0i9gdb4w7l361pnkvq6ap17kmgnxngh0bcdmgn4dc88wx2";
|
repo = "kernel";
|
||||||
};
|
inherit rev sha256;
|
||||||
|
};
|
||||||
|
|
||||||
ath10k-firmware = fetchFromGitHub {
|
ath10k-firmware = fetchFromGitHub {
|
||||||
owner = "kvalo";
|
owner = "kvalo";
|
||||||
|
|
Loading…
Reference in a new issue