about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-22 08:29:26 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-22 08:29:26 +0100
commitd2497b20a63d03664f7ff0b221c38fd88c7ccaf3 (patch)
tree2d33e2d0a29ccf0d67f72b1f338a8566f52f682b
parent902234db39032120c06ec4768b70b45378f5cd2d (diff)
parent2be6f25d96537e014b4238a91d9878ceec188a78 (diff)
downloaddots-d2497b20a63d03664f7ff0b221c38fd88c7ccaf3.tar.gz
dots-d2497b20a63d03664f7ff0b221c38fd88c7ccaf3.zip
Merge branch 'master' of ssh://github.com/pniedzwiedzinski/dots
-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
   '';
 }