summary refs log tree commit diff
path: root/pkgs/shells/bash
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-10-06 19:38:53 +0300
committerArtturin <Artturin@artturin.com>2022-10-10 15:40:21 +0300
commit7e49471316373c471a3bf4b78c130ebc907ae2d2 (patch)
tree73e4fd3e290d0a79934d2b9273c1b5b51c8af8f1 /pkgs/shells/bash
parentf4ea1208ec732d423a784bbb2b882f997b6af902 (diff)
downloadnixpkgs-7e49471316373c471a3bf4b78c130ebc907ae2d2.tar
nixpkgs-7e49471316373c471a3bf4b78c130ebc907ae2d2.tar.gz
nixpkgs-7e49471316373c471a3bf4b78c130ebc907ae2d2.tar.bz2
nixpkgs-7e49471316373c471a3bf4b78c130ebc907ae2d2.tar.lz
nixpkgs-7e49471316373c471a3bf4b78c130ebc907ae2d2.tar.xz
nixpkgs-7e49471316373c471a3bf4b78c130ebc907ae2d2.tar.zst
nixpkgs-7e49471316373c471a3bf4b78c130ebc907ae2d2.zip
treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
Diffstat (limited to 'pkgs/shells/bash')
-rw-r--r--pkgs/shells/bash/5.1.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shells/bash/5.1.nix b/pkgs/shells/bash/5.1.nix
index 390dab12c94..0f50c72f5da 100644
--- a/pkgs/shells/bash/5.1.nix
+++ b/pkgs/shells/bash/5.1.nix
@@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  makeFlags = optional stdenv.hostPlatform.isCygwin [
+  makeFlags = optionals stdenv.hostPlatform.isCygwin [
     "LOCAL_LDFLAGS=-Wl,--export-all,--out-implib,libbash.dll.a"
     "SHOBJ_LIBS=-lbash"
   ];