Skip to content

JoaquinTrinanes/nushell-nightly-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐘 Nushell Nightly Flake

Featuring

  • Handy overlay
  • Hourly builds to live on the bleeding edge
  • It's own binary cache
  • Official nushell plugins:
    • nu_plugin_formats
    • nu_plugin_gstat
    • nu_plugin_inc
    • nu_plugin_query
    • nu_plugin_polars

Getting started

Binary cache

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.conf or ~/.config/nix/nix.conf

    substituters = 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.

Using flakes

Using the packages

environment.systemPackages = [
    # You can access nushell, nu_plugin_* and default (alias to nushell)
    inputs.nushell-nightly.packages.${pkgs.stdenv.hostPlatform.system}.default;
];

Using the overlay

The flake exports an overlay that takes care of overriding the nushell and nushellPlugins packages.

import nixpkgs {
    overlays = [inputs.nushell-nightly-flake.overlays.default];
    ...
};

Nix without flakes using flake-compat

environment.systemPackages = [
    (import (fetchTarball "https://github.com/JoaquinTrinanes/nushell-nightly-flake/archive/main.tar.gz")).default
];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages