/nix-std

no-nixpkgs standard library for the nix expression language

Primary LanguageNix

nix-std

Build Status

no-nixpkgs standard library for the nix expression language.

Usage

Fetch using plain Nix:

with {
  std = import (builtins.fetchTarball {
    url = "https://github.com/chessai/nix-std/archive/v0.0.0.1.tar.gz";
    sha256 = "0vglyghzj19240flribyvngmv0fyqkxl8pxzyn0sxlci8whmc9fr"; });
};

Or, if using flakes, add it to your flake inputs:

{
  inputs.nix-std.url = "github:chessai/nix-std";
  outputs = { self, nix-std }:
    let
      std = nix-std.lib;
    in
    {
      # ...
    };
}