about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-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
   '';
 }