summary refs log tree commit diff
path: root/pkgs/os-specific/linux/rtl8821au
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-03-11 00:55:17 +0200
committerArtturin <Artturin@artturin.com>2023-03-11 00:55:17 +0200
commitcab4a24c342825d60f164aa499fd586fe6d0efeb (patch)
tree11978add4b09ccaf289b3c2e1e266cbd41c614d7 /pkgs/os-specific/linux/rtl8821au
parent0c4800d579af4ed98ecc47d464a5e7b0870c4b1f (diff)
downloadnixpkgs-cab4a24c342825d60f164aa499fd586fe6d0efeb.tar
nixpkgs-cab4a24c342825d60f164aa499fd586fe6d0efeb.tar.gz
nixpkgs-cab4a24c342825d60f164aa499fd586fe6d0efeb.tar.bz2
nixpkgs-cab4a24c342825d60f164aa499fd586fe6d0efeb.tar.lz
nixpkgs-cab4a24c342825d60f164aa499fd586fe6d0efeb.tar.xz
nixpkgs-cab4a24c342825d60f164aa499fd586fe6d0efeb.tar.zst
nixpkgs-cab4a24c342825d60f164aa499fd586fe6d0efeb.zip
treewide: fix lints
Arg to lib.optional is a list

build time tool in buildInputs
Diffstat (limited to 'pkgs/os-specific/linux/rtl8821au')
-rw-r--r--pkgs/os-specific/linux/rtl8821au/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/rtl8821au/default.nix b/pkgs/os-specific/linux/rtl8821au/default.nix
index c709c702f93..aa4a7f661e7 100644
--- a/pkgs/os-specific/linux/rtl8821au/default.nix
+++ b/pkgs/os-specific/linux/rtl8821au/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
     "ARCH=${stdenv.hostPlatform.linuxArch}"
     ("CONFIG_PLATFORM_I386_PC=" + (if stdenv.hostPlatform.isx86 then "y" else "n"))
     ("CONFIG_PLATFORM_ARM_RPI=" + (if (stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64) then "y" else "n"))
-  ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [
+  ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
     "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
   ];