1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-28 04:29:45 +01:00

Merge pull request #309 from mexisme/fix/ms-surface/ath10k-firmware-source

Fix source repo for MS Surface Go ATH10k Firmware image
This commit is contained in:
Jörg Thalheim 2021-08-25 09:15:13 +01:00 committed by GitHub
commit 7f42ec8790
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,7 @@
{stdenv, lib, pkgs, firmwareLinuxNonfree, ...}:
let
repos = (pkgs.callPackage ../../../repos.nix {});
# killernetworking_firmware = ./K1535_Debian;
killernetworking_firmware = repos.ath10k-firmware + "/K1535_Debian";
killernetworking_firmware = repos.surface-go-ath10k-firmware_backup + "/K1535_Debian";
in
firmwareLinuxNonfree.overrideAttrs (old: rec {
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/
'';
outputHash = "1nc56qii96dfvxnv3ad3lxz2rzyqcbldk0h9rbm3l2pgamkvj8dw";
outputHash = "176cf5b9f370x2a532h2afjfkrxy13gqdygc11bam0sg8dlnrv21";
meta = with lib; {
description = "Standard binary firmware collection, adjusted with the Surface Go WiFi firmware";