summary refs log tree commit diff
path: root/pkgs/os-specific/linux/rtl8812au
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-01-22 14:07:06 -0800
committerJonathan Ringer <jonringer117@gmail.com>2021-01-22 14:07:06 -0800
commit0bc275e63423456d6deb650e146120c39c1e0723 (patch)
tree1d33aa707b24fa58952162457e243c731836f99b /pkgs/os-specific/linux/rtl8812au
parent2e5475381b65290e08d357fa1434bd28d0c21cfa (diff)
downloadnixpkgs-0bc275e63423456d6deb650e146120c39c1e0723.tar
nixpkgs-0bc275e63423456d6deb650e146120c39c1e0723.tar.gz
nixpkgs-0bc275e63423456d6deb650e146120c39c1e0723.tar.bz2
nixpkgs-0bc275e63423456d6deb650e146120c39c1e0723.tar.lz
nixpkgs-0bc275e63423456d6deb650e146120c39c1e0723.tar.xz
nixpkgs-0bc275e63423456d6deb650e146120c39c1e0723.tar.zst
nixpkgs-0bc275e63423456d6deb650e146120c39c1e0723.zip
Revert "lib: Clean up how linux and gcc config is specified"
This is a stdenv-rebuild, and should not be merged
into master

This reverts commit 8929989614589ee3acd070a6409b2b9700c92d65.
Diffstat (limited to 'pkgs/os-specific/linux/rtl8812au')
-rw-r--r--pkgs/os-specific/linux/rtl8812au/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/rtl8812au/default.nix b/pkgs/os-specific/linux/rtl8812au/default.nix
index 68a88fb6778..aeed87d3c19 100644
--- a/pkgs/os-specific/linux/rtl8812au/default.nix
+++ b/pkgs/os-specific/linux/rtl8812au/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
   '';
 
   makeFlags = [
-    "ARCH=${stdenv.hostPlatform.linuxArch}"
+    "ARCH=${stdenv.hostPlatform.platform.kernelArch}"
     "KSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
     ("CONFIG_PLATFORM_I386_PC=" + (if (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) then "y" else "n"))
     ("CONFIG_PLATFORM_ARM_RPI=" + (if (stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64) then "y" else "n"))