diff options
author | figsoda <figsoda@pm.me> | 2021-11-15 19:48:32 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-11-16 08:11:54 -0500 |
commit | 009c1d5b6d8f88faded1d6962d9661dc67cee61c (patch) | |
tree | cbad9e6b7402951ff9f4be3b59c0c5af6e7fa3d5 /pkgs/shells | |
parent | 314d6b8c35145945bf6055e43a0e73282141b381 (diff) |
nushell: use buildFeatures
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/nushell/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 7a07c4ffdc4d9..ffc93bff6b735 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec { ++ lib.optionals (withExtraFeatures && stdenv.isLinux) [ xorg.libX11 ] ++ lib.optionals (withExtraFeatures && stdenv.isDarwin) [ AppKit nghttp2 libgit2 ]; - cargoBuildFlags = lib.optional withExtraFeatures "--features=extra"; + buildFeatures = lib.optional withExtraFeatures "extra"; # Since 0.34, nu has an indirect dependency on `zstd-sys` (via `polars` and # `parquet`, for dataframe support), which by default has an impure build |