mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-06-08 01:54:27 +00:00
Add nix_path action paramter
This commit is contained in:
parent
14f0e86ffb
commit
a744770f4b
4 changed files with 32 additions and 6 deletions
|
@ -19,6 +19,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v9
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- run: nix-build
|
||||
```
|
||||
|
||||
|
@ -28,7 +30,9 @@ with developers.
|
|||
|
||||
## Options `with: ...`
|
||||
|
||||
- `install_url`: specify URL to install Nix from (mostly useful for testing non-stable releases
|
||||
- `install_url`: specify URL to install Nix from (mostly useful for testing non-stable releases)
|
||||
|
||||
- `nix_path`: set `NIX_PATH` environment variable (if set `skip_adding_nixpkgs_channel` will be implicitly enabled)
|
||||
|
||||
- `skip_adding_nixpkgs_channel`: set to `true` to skip adding nixpkgs-unstable channel (and save ~5s for each job build)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue