[][src]Module crate2nix::nix_build

Code for invoking nix_build.

Functions

dump_with_lines

Dump the content of the specified file with line numbers to stdout.

nix_build

Call nix build in the given directory on the default.nix in that directory.

run_cmd

Run the command at the given path without arguments and capture the output in the return value.