summary refs log tree commit diff
path: root/pkgs/os-specific/linux/rtl8723bs/default.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-20 15:18:07 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-20 15:22:46 -0400
commit7d85ade0ccf4fdb0b93fdbd18a07249a360144d4 (patch)
tree404c4c24cf391f6f59b6b731987de051743cb98d /pkgs/os-specific/linux/rtl8723bs/default.nix
parentf0d6e22b7f0d89f4474abd41b917a18cec128529 (diff)
downloadnixpkgs-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar
nixpkgs-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.gz
nixpkgs-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.bz2
nixpkgs-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.lz
nixpkgs-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.xz
nixpkgs-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.zst
nixpkgs-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.zip
treewide: Purge `stdenv.platform` and top-level `platform`
Progress towards #27069
Diffstat (limited to 'pkgs/os-specific/linux/rtl8723bs/default.nix')
-rw-r--r--pkgs/os-specific/linux/rtl8723bs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/rtl8723bs/default.nix b/pkgs/os-specific/linux/rtl8723bs/default.nix
index 0263d17ead0..b1e01f705dc 100644
--- a/pkgs/os-specific/linux/rtl8723bs/default.nix
+++ b/pkgs/os-specific/linux/rtl8723bs/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
   buildInputs = [ nukeReferences ];
 
   makeFlags = concatStringsSep " " [
-    "ARCH=${stdenv.platform.kernelArch}" # Normally not needed, but the Makefile sets ARCH in a broken way.
+    "ARCH=${stdenv.hostPlatform.platform.kernelArch}" # Normally not needed, but the Makefile sets ARCH in a broken way.
     "KSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" # Makefile uses $(uname -r); breaks us.
   ];