about summary refs log tree commit diff
path: root/machines/asus/brcm.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-22 08:27:01 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-22 08:27:01 +0100
commit2be6f25d96537e014b4238a91d9878ceec188a78 (patch)
tree9da906d9dfb2dd3630451125eff71b59d929a5a7 /machines/asus/brcm.nix
parent01afb9187a3902c907fcc7acd5583075a59e46b4 (diff)
downloaddots-2be6f25d96537e014b4238a91d9878ceec188a78.tar.gz
dots-2be6f25d96537e014b4238a91d9878ceec188a78.zip
Fix checksum
Diffstat (limited to 'machines/asus/brcm.nix')
-rw-r--r--machines/asus/brcm.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/machines/asus/brcm.nix b/machines/asus/brcm.nix
index d72648d..397034f 100644
--- a/machines/asus/brcm.nix
+++ b/machines/asus/brcm.nix
@@ -5,13 +5,17 @@ stdenv.mkDerivation {
 
   src = fetchurl {
     url = "https://android.googlesource.com/platform/hardware/broadcom/wlan/+archive/master/bcmdhd/firmware/bcm43341.tar.gz";
-    sha256 = "1vm5yvxznkvsbdvnhm10dci33i0b9flzqalpbgvmzyd95vi7s4bm";
+    sha256 = "0cd25rrmc0b74pxhhgv1jgjwfk6214pz1s7lffplsc4s354h1wd9";
   };
 
+  sourceRoot = ".";
+
   installPhase = ''
     mkdir -p $out/lib/firmware/brcm
 
     cp fw_bcm43341.bin $out/lib/firmware/brcm/brcmfmac43340-sdio.bin
     cp fw_bcm43341.bin $out/lib/firmware/brcm/brcmfmac43341-sdio.bin
+    cp ${./brcm.txt} $out/lib/firmware/brcm/brcmfmac43340-sdio.txt
+    cp ${./brcm.txt} $out/lib/firmware/brcm/brcmfmac43341-sdio.txt
   '';
 }