Command creates an arbitrary command using the Nix executable found in $PATH. It's the same as calling [Nix.Command] on the default Nix installation.
(args ...any)
| 26 | // Command creates an arbitrary command using the Nix executable found in $PATH. |
| 27 | // It's the same as calling [Nix.Command] on the default Nix installation. |
| 28 | func Command(args ...any) *Cmd { |
| 29 | return Default.Command(args...) |
| 30 | } |
| 31 | |
| 32 | // System calls [Nix.System] on the default Nix installation. |
| 33 | func System() string { |