CmdID

CmdID / Commands

nix-eval

Evaluate a Nix expression and print the result to stdout. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Evaluate Nix flake attributes in the current directory

nix eval .#attributesIdentify

Evaluate a given Nix expression

nix eval --expr 'your_expression'Identify

Evaluate a Nix expression from a specified file

nix eval --file path/to/fileIdentify

Print the store path of the specified package from nixpkgs

nix eval nixpkgs#pkg --rawIdentify

Evaluate attributes from a flake directly from GitHub

nix eval github:owner/repo#attributesIdentify

Evaluate a given lambda function passing the specified package as argument

nix eval nixpkgs#pkg --apply 'lambda_function'Identify