workflow/Nix Shell
Run any command you like in a deterministic nix shell on Linux and macOS
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| interpreter | Interpreter to use in the nix shell shebang | no | bash |
| packages | Comma-separated list of packages to pre-install in your shell. Defaults to simply "bash". Cannot be used together with the flakes option | no | bash |
| flakes | Comma-separated list of fully qualified flakes to pre-install in your shell. Use either packages or flakes. Cannot be used together with the packages option | no | "" |
| flakes-from-devshell | If set to true, uses devShell instead. | no | false |
| custom-devshell | If set, uses a customly named devShell from the current flake | no | "" |
| script | The actual script to execute in the shell | yes | — |
| working-directory | Execute the script inside the specified working directory instead of the repository root. Example: path/to/dir | no | — |
Outputs
no outputs