Adding action to add nix capabilities to docker runner #2
2 changed files with 3 additions and 1 deletions
|
@ -114,4 +114,6 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7
|
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7
|
||||||
|
|||||||
|
with:
|
||||||
|
nix_version: nixos-unstable
|
||||||
```
|
```
|
||||||
|
|
|
@ -11,7 +11,7 @@ runs:
|
||||||
apt install sudo
|
apt install sudo
|
||||||
- uses: https://github.com/cachix/install-nix-action@v29
|
- uses: https://github.com/cachix/install-nix-action@v29
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:${{ inputs.nix_version }}
|
||||||
silver
commented
What if someone wants to specify what version of nix to use? The inputs fot teh install-nix-action can be found here: https://github.com/cachix/install-nix-action?tab=readme-ov-file#inputs-specify-using-with (I honestly dont think anyone would really use this, more food to think for the future (we can revisit if someone needs it)) What if someone wants to specify what version of nix to use?
The inputs fot teh install-nix-action can be found here: https://github.com/cachix/install-nix-action?tab=readme-ov-file#inputs-specify-using-with
(I honestly dont think anyone would really use this, more food to think for the future (we can revisit if someone needs it))
eoghanconlon73
commented
perfect, I'll have a look into this there in a few minutes perfect, I'll have a look into this there in a few minutes
eoghanconlon73
commented
This didn't work as I expected, it still installs nix so may be alright to be fixed in a later version of the action, though can revert back to unstable if that's preferred This didn't work as I expected, it still installs nix so may be alright to be fixed in a later version of the action, though can revert back to unstable if that's preferred
|
|||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
trusted-public-keys = skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
trusted-public-keys = skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
||||||
substituters = https://nix-cache.skynet.ie/skynet-cache https://hydra.iohk.io https://cache.nixos.org/
|
substituters = https://nix-cache.skynet.ie/skynet-cache https://hydra.iohk.io https://cache.nixos.org/
|
||||||
|
|
Loading…
Reference in a new issue
Id say just set it to be
v7
, since that is what I will be tagging it withPerfect, was more leaving it as generic as I wanted to have one change at the end for the version