mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 16:59:35 +01:00
Nix, the purely functional package manager
The command ":a <expr>" evaluates <expr> and adds the attributes in
the resulting attribute set to the interpreter scope. For instance:
nix-repl> :a import <nixpkgs> {}
nix-repl> lib.range 0 10
[ 0 1 2 3 4 5 6 7 8 9 10 ]
|
||
|---|---|---|
| default.nix | ||
| nix-repl.cc | ||