diff options
author | Artturin <Artturin@artturin.com> | 2023-03-11 00:55:17 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-03-11 00:55:17 +0200 |
commit | cab4a24c342825d60f164aa499fd586fe6d0efeb (patch) | |
tree | 11978add4b09ccaf289b3c2e1e266cbd41c614d7 /pkgs/os-specific/linux/rtl8821au | |
parent | 0c4800d579af4ed98ecc47d464a5e7b0870c4b1f (diff) |
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.nix | 2 |
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 c709c702f931e..aa4a7f661e7b2 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}" ]; |