Adding action to add nix capabilities to docker runner #2
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ runs:
|
|||
shell: bash
|
||||
run: |
|
||||
apt update
|
||||
|
||||
apt upgrade
|
||||
apt install sudo
|
||||
apt upgrade -y
|
||||
apt install -y sudo
|
||||
- uses: https://github.com/cachix/install-nix-action@v29
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
|
Loading…
Reference in a new issue
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))
perfect, I'll have a look into this there in a few minutes
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