From b32b188154bda2f0b430afac19e404216aaded23 Mon Sep 17 00:00:00 2001 From: mexisme Date: Mon, 28 Nov 2022 20:00:53 +1300 Subject: [PATCH] Convert the repos.linux-surface-kernel set to a function --- microsoft/surface/repos.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/microsoft/surface/repos.nix b/microsoft/surface/repos.nix index 1ee00b9..3ee09a9 100644 --- a/microsoft/surface/repos.nix +++ b/microsoft/surface/repos.nix @@ -1,10 +1,11 @@ { lib, pkgs, fetchFromGitHub, fetchurl }: { - linux-surface-kernel = fetchFromGitHub { - owner = "linux-surface"; - repo = "kernel"; - rev = "db94c89f56d6ceae03ca3802e11197f48e6c539f"; - sha256 = "0c58ri0i9gdb4w7l361pnkvq6ap17kmgnxngh0bcdmgn4dc88wx2"; - }; + # This is the owner and repo for the pre-patched kernel from the "linux-surface" project: + linux-surface-kernel = { rev, sha256 }: + fetchFromGitHub { + owner = "linux-surface"; + repo = "kernel"; + inherit rev sha256; + }; ath10k-firmware = fetchFromGitHub { owner = "kvalo";