Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: ./)

About

GitHub action to run commands in a Nix development shell

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages