diff options
Diffstat (limited to 'pkgs/os-specific/linux/rtl8723bs/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/rtl8723bs/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/rtl8723bs/default.nix b/pkgs/os-specific/linux/rtl8723bs/default.nix index 323d6a82073..a862b351716 100644 --- a/pkgs/os-specific/linux/rtl8723bs/default.nix +++ b/pkgs/os-specific/linux/rtl8723bs/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchFromGitHub, nukeReferences, kernel }: -with stdenv.lib; +{ lib, stdenv, fetchFromGitHub, nukeReferences, kernel }: +with lib; stdenv.mkDerivation rec { name = "rtl8723bs-${kernel.version}-${version}"; version = "2017-04-06"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { buildInputs = [ nukeReferences ]; makeFlags = [ - "ARCH=${stdenv.hostPlatform.platform.kernelArch}" # Normally not needed, but the Makefile sets ARCH in a broken way. + "ARCH=${stdenv.hostPlatform.linuxArch}" # 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. ]; @@ -33,8 +33,8 @@ stdenv.mkDerivation rec { meta = { description = "Realtek SDIO Wi-Fi driver"; homepage = "https://github.com/hadess/rtl8723bs"; - license = stdenv.lib.licenses.gpl2; - platforms = stdenv.lib.platforms.linux; + license = lib.licenses.gpl2; + platforms = lib.platforms.linux; broken = (! versionOlder kernel.version "4.12"); # Now in kernel staging drivers maintainers = with maintainers; [ elitak ]; }; |