From ed278f6bb2c0d4350bad685cdc4fefaa39005d8e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 29 Dec 2025 20:18:41 +0000 Subject: [PATCH] python3Packages.xarray.optional-dependencies.complete: fix the eval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the change the eval fails as: $ nix-instantiate -A pypy310Packages.xarray.optional-dependencies.complete error: … while evaluating a path segment at pkgs/development/python-modules/xarray/default.nix:96:27: 95| ]; 96| complete = with self; accel ++ io ++ etc ++ parallel + viz; | ^ 97| }); error: cannot coerce a list to a string: [ «thunk» «thunk» «thunk» «thunk» «thunk» «thunk» «thunk» «thunk» «thunk» «thunk» «13 items elided» ] This happens because of `+` concat operator instead of `++`. --- pkgs/development/python-modules/xarray/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/xarray/default.nix b/pkgs/development/python-modules/xarray/default.nix index 37488c13856c..5b501200dc82 100644 --- a/pkgs/development/python-modules/xarray/default.nix +++ b/pkgs/development/python-modules/xarray/default.nix @@ -93,7 +93,7 @@ buildPythonPackage rec { # nc-time-axis seaborn ]; - complete = with self; accel ++ io ++ etc ++ parallel + viz; + complete = with self; accel ++ io ++ etc ++ parallel ++ viz; }); nativeCheckInputs = [