Skip to content

nix-develop-command

Actions
Run commands in a nix develop environment
v1
Latest
Star (0)

Nix develop command GitHub action

GitHub Actions badge

This GitHub action is used to run commands in a Nix development shell (i.e. using a flake).

Usage

This GitHub action does not install Nix, use the cachix/install-nix-action before using this action. By default, this action assumes the flake.nix file is located in the current working directory.

jobs:
  ubuntu:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: cachix/install-nix-action@v20
      - uses: lriesebos/nix-develop-command@v1
        with:
          command: "hello"

Inputs

  • command: The command to run (required)
  • devshell: Name of the development shell (default: default)
  • options: Additional options/arguments for nix develop
  • working-directory: Working directory (default: ./)

nix-develop-command is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Run commands in a nix develop environment
v1
Latest

nix-develop-command is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.