From 2be6f25d96537e014b4238a91d9878ceec188a78 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 22 Jan 2021 08:27:01 +0100 Subject: Fix checksum --- machines/asus/brcm.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'machines/asus') 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 ''; } -- cgit 1.4.1