tweag/Run nix-shell scripts
Executes shell scripts using nix-shell.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| run | The path to a file that contains shell code or the actual shell code. | yes | — |
| pure | Whether to run the script with the `--pure` option. Defaults to `true`. | — | true |
| options | Any parameters that are to be passed to nix-shell are specified here. | — | — |
| working-directory | The path where nix-shell is executed and the script will be executed. | — | . |
| derivation-path | The path to a directory containing shell.nix or default.nix; or a path to a .nix file to use to set up the environment. Note, the path is resolved relative to the project root. | — | — |
| shell-flags | These flags will be set before executing the script. | — | set -o errexit -o nounset -o pipefail |
| verbose | Enable debug output written to stderr. | — | false |
Outputs
| name | description |
|---|---|
| outputs | The outputs of the nix-shell-run |