From 44b3b2c23c6230e891b3b65d8a10d863d5d96212 Mon Sep 17 00:00:00 2001 From: Eoghan Conlon Date: Mon, 30 Sep 2024 21:18:44 +0100 Subject: [PATCH] Feat. Adding the rest of the steps to get nix to the action --- README.md | 2 ++ docker_nix/action.yml | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bfd07db..0143ddd 100644 --- a/README.md +++ b/README.md @@ -104,3 +104,5 @@ jobs: folder: "src" #destination: "subfolder" ``` + +## diff --git a/docker_nix/action.yml b/docker_nix/action.yml index 5a6277e..b8c1caa 100644 --- a/docker_nix/action.yml +++ b/docker_nix/action.yml @@ -8,4 +8,12 @@ runs: run: | apt update apt upgrade - apt install sudo \ No newline at end of file + apt install sudo + - uses: https://github.com/cachix/install-nix-action@v29 + with: + nix_path: nixpkgs=channel:nixos-unstable + 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= + substituters = https://nix-cache.skynet.ie/skynet-cache https://hydra.iohk.io https://cache.nixos.org/ + - shell: bash + run: nix --version \ No newline at end of file