commit a8f98ccfe734546802a1e2c224fa22664aa256b6 parent 27ce61ae4e144d617269dc5b1142fd4ab119ced7 Author: Daniel Barlow <dan@telent.net> Date: Sat, 25 Nov 2023 18:16:20 +0000 use linuxArch instead of case statement Diffstat:
| M | pkgs/mac80211/default.nix | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/pkgs/mac80211/default.nix b/pkgs/mac80211/default.nix @@ -14,11 +14,7 @@ , lib }: let - arch = if stdenv.isMips - then "mips" - else if stdenv.isAarch64 - then "arm64" - else throw "unknown arch"; + arch = stdenv.hostPlatform.linuxArch; openwrtSrc = fetchFromGitHub { name = "openwrt-source"; repo = "openwrt";