Skip to content
Snippets Groups Projects
Commit 784cb3a3 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

nix ci: cachix push

parent 7479158c
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
trusted-substituters = https://gepetto.cachix.org
trusted-public-keys = gepetto.cachix.org-1:toswMl31VewC0jGkN6+gOelO2Yom0SOHzPwJMY2XiDY=
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build --accept-flake-config
- run: nix --accept-flake-config build -L
- run: nix --accept-flake-config run .#cachix push gepetto $(readlink result)
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
......@@ -37,8 +37,9 @@
...
}:
{
packages.default = pkgs.callPackage ./. {
hpp-util = inputs.hpp-util.packages.${system}.default;
packages = {
inherit (pkgs) cachix;
default = pkgs.callPackage ./. { hpp-util = inputs.hpp-util.packages.${system}.default; };
};
devShells.default = pkgs.mkShell { inputsFrom = [ self'.packages.default ]; };
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment