diff options
author | Artturin <Artturin@artturin.com> | 2022-10-06 19:38:53 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-10-10 15:40:21 +0300 |
commit | 7e49471316373c471a3bf4b78c130ebc907ae2d2 (patch) | |
tree | 73e4fd3e290d0a79934d2b9273c1b5b51c8af8f1 /pkgs/development/libraries/galario | |
parent | f4ea1208ec732d423a784bbb2b882f997b6af902 (diff) |
treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
Diffstat (limited to 'pkgs/development/libraries/galario')
-rw-r--r-- | pkgs/development/libraries/galario/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/galario/default.nix b/pkgs/development/libraries/galario/default.nix index ac7e4f4255e84..7f757fd48197f 100644 --- a/pkgs/development/libraries/galario/default.nix +++ b/pkgs/development/libraries/galario/default.nix @@ -34,13 +34,13 @@ stdenv.mkDerivation rec { ++ lib.optional stdenv.isDarwin llvmPackages.openmp ; - propagatedBuildInputs = lib.optional enablePython [ + propagatedBuildInputs = lib.optionals enablePython [ pythonPackages.numpy pythonPackages.cython pythonPackages.pytest ]; - checkInputs = lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytest-cov ]; + checkInputs = lib.optionals enablePython [ pythonPackages.scipy pythonPackages.pytest-cov ]; preConfigure = '' mkdir -p build/external/src |