🐘 Nushell Nightly Flake
- Handy overlay
- Hourly builds to live on the bleeding edge
- It's own binary cache
- Nightly
tree-sitter-nubuild - Official nushell plugins:
nu_plugin_formatsnu_plugin_gstatnu_plugin_incnu_plugin_querynu_plugin_polars
To avoid long build times and a toasty computer, a binary cache is provided. To enable it, follow the instructions on the nushell-nightly binary cache.
Alternatively, you can enable the cache manually.
-
If using NixOS, set the following values in your config:
nix.settings.substituters = ["https://nushell-nightly.cachix.org"]; nix.settings.trusted-public-keys = ["nushell-nightly.cachix.org-1:nLwXJzwwVmQ+fLKD6aH6rWDoTC73ry1ahMX9lU87nrc="];
-
If using standalone Nix, edit either
/etc/nix/nix.confor~/.config/nix/nix.confsubstituters = https://nushell-nightly.cachix.org trusted-public-keys = nushell-nightly.cachix.org-1:nLwXJzwwVmQ+fLKD6aH6rWDoTC73ry1ahMX9lU87nrc=
Note
If you enable the cache in your user config it won't take effect unless the user is in the trusted-users list.
environment.systemPackages = [
# You can access nushell, nu_plugin_* and default (alias to nushell)
inputs.nushell-nightly.packages.${pkgs.stdenv.hostPlatform.system}.default;
];The flake exports an overlay that takes care of overriding the nushell and nushellPlugins packages.
import nixpkgs {
overlays = [inputs.nushell-nightly-flake.overlays.default];
...
};environment.systemPackages = [
(import (fetchTarball "https://github.com/JoaquinTrinanes/nushell-nightly-flake/archive/main.tar.gz")).default
];