Fix source repo for MS Surface ATH10k Firmware image

This commit is contained in:
mexisme 2021-08-25 12:06:29 +12:00
parent de40acde6c
commit 286e778ab5

View file

@ -1,8 +1,7 @@
{stdenv, lib, pkgs, firmwareLinuxNonfree, ...}: {stdenv, lib, pkgs, firmwareLinuxNonfree, ...}:
let let
repos = (pkgs.callPackage ../../../repos.nix {}); repos = (pkgs.callPackage ../../../repos.nix {});
# killernetworking_firmware = ./K1535_Debian; killernetworking_firmware = repos.surface-go-ath10k-firmware_backup + "/K1535_Debian";
killernetworking_firmware = repos.ath10k-firmware + "/K1535_Debian";
in in
firmwareLinuxNonfree.overrideAttrs (old: rec { firmwareLinuxNonfree.overrideAttrs (old: rec {
pname = "microsoft-surface-go-firmware-linux-nonfree"; pname = "microsoft-surface-go-firmware-linux-nonfree";
@ -23,7 +22,7 @@ firmwareLinuxNonfree.overrideAttrs (old: rec {
cp ${killernetworking_firmware}/board.bin $out/lib/firmware/ath10k/QCA6174/hw3.0/ cp ${killernetworking_firmware}/board.bin $out/lib/firmware/ath10k/QCA6174/hw3.0/
''; '';
outputHash = "1nc56qii96dfvxnv3ad3lxz2rzyqcbldk0h9rbm3l2pgamkvj8dw"; outputHash = "1zvahsp06vikp83r89wkccwq7mixjiwcv10chw1xyikfjkqr48hr";
meta = with lib; { meta = with lib; {
description = "Standard binary firmware collection, adjusted with the Surface Go WiFi firmware"; description = "Standard binary firmware collection, adjusted with the Surface Go WiFi firmware";