surface: Fix syntax issue

This commit is contained in:
PapaTutuWawa 2021-10-21 23:37:31 +02:00
parent c34d39f543
commit 62ad5c37f3

View File

@ -1,6 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
fetchurl = pkgs.fetchurl;
fetchpatch = pkgs.fetchpatch; fetchpatch = pkgs.fetchpatch;
commit = "f69eefacf7304857f8c0ce7ac0ebf4971121da72"; commit = "f69eefacf7304857f8c0ce7ac0ebf4971121da72";
mkPatch = name: sha256: { mkPatch = name: sha256: {
@ -20,7 +21,7 @@ in {
"thermald/thermal-cpu-cdev-order.xml".source = fetchurl { "thermald/thermal-cpu-cdev-order.xml".source = fetchurl {
url = "https://raw.githubusercontent.com/linux-surface/linux-surface/${commit}/contrib/thermald/surface_pro_5/thermal-conf.xml.auto.mobile"; url = "https://raw.githubusercontent.com/linux-surface/linux-surface/${commit}/contrib/thermald/surface_pro_5/thermal-conf.xml.auto.mobile";
sha256 = "1wsrgad6k4haw4m0jjcjxhmj4742kcb3q8rmfpclbw0czm8384al"; sha256 = "1wsrgad6k4haw4m0jjcjxhmj4742kcb3q8rmfpclbw0czm8384al";
} };
}; };
powerManagement = { powerManagement = {