nixthon COMMAND

Table of Contents

Commands:

  • check: Check if nix is installed and available.
  • init: Initialize a nixthon project by creating a shell.nix file in the specified directory.
  • run: Run a command inside nix-shell. nix_file and pgks cannot be used together. If both are provided, nix_file will be used. :param cmd: The command to run as a list of strings. :param pkgs: Optional list of packages to include in the nix-shell environment. :param nix_file: Optional path to a shell.nix file to use for the nix.

nixthon check

nixthon check

Check if nix is installed and available.

nixthon run

nixthon run CMD [ARGS]

Run a command inside nix-shell. nix_file and pgks cannot be used together. If both are provided, nix_file will be used. :param cmd: The command to run as a list of strings. :param pkgs: Optional list of packages to include in the nix-shell environment. :param nix_file: Optional path to a shell.nix file to use for the nix.

Parameters:

  • CMD, --cmd, --empty-cmd: The command to run as a list of strings. [required]
  • PKGS, --pkgs, --empty-pkgs: Optional list of packages to include in the nix-shell environment.
  • NIX-FILE, --nix-file: Optional path to a shell.nix file to use for the nix.

nixthon init

nixthon init [ARGS]

Initialize a nixthon project by creating a shell.nix file in the specified directory.

Parameters:

  • PROJECT-PATH, --project-path: [default: /home/runner/work/nixthon/nixthon]