summary refs log tree commit diff
path: root/pkgs/development/libraries/appstream
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-04-18 20:14:03 +0300
committerArtturin <Artturin@artturin.com>2023-04-18 20:20:56 +0300
commiteac28f38d6b78743accda7831613700cfd236a5c (patch)
tree1bc136bb032f404348d4da9d4d352bebe3aa8d69 /pkgs/development/libraries/appstream
parent9984ca0504106c13f18fcef2c7d06bd8772306b4 (diff)
treewide: fix lints
Arg to lib.optional is a list

build time tool in buildInputs

*Flags not a list

https://github.com/nix-community/nixpkgs-lint
Diffstat (limited to 'pkgs/development/libraries/appstream')
-rw-r--r--pkgs/development/libraries/appstream/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/appstream/default.nix b/pkgs/development/libraries/appstream/default.nix
index 745cba3111033..78ca9cfddbadf 100644
--- a/pkgs/development/libraries/appstream/default.nix
+++ b/pkgs/development/libraries/appstream/default.nix
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
     itstool
     vala
     gperf
-  ] ++ lib.optional (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
+  ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
     mesonEmulatorHook
   ];