LinuxCommandLibrary

nix3-repl

Start an interactive environment for evaluating Nix expressions.

TLDR

Start an interactive environment for evaluating Nix expressions

$ nix repl
copy


Load all packages from a flake (e.g. nixpkgs) into scope
$ :lf [nixpkgs]
copy


Build a package from an expression
$ :b [expression]
copy


Start a shell with package from the expression available
$ :u [expression]
copy


Start a shell with dependencies of the package from the expression available
$ :s [expression]
copy

Copied to clipboard