1
Fork 0

CI: Run it in a nix develop shell
Some checks failed
/ Publish (push) Failing after 1m2s

This commit is contained in:
Jan-Erik Rediger 2023-09-29 13:47:30 +02:00
parent 2ff806e7c6
commit 98a5117ab9
2 changed files with 2 additions and 6 deletions

View file

@ -9,10 +9,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
name: Checkout name: Checkout
- name: Set up Cachix
run: |
nix-env -iA nixpkgs.cachix nixpkgs.bash
cachix use $CACHIX_NAME
- name: Build - name: Build
run: | run: |
cachix watch-exec $CACHIX_NAME nix build nix develop --command bash --command 'cachix use $CACHIX_NAME && cachix watch-exec $CACHIX_NAME nix build'

View file

@ -22,7 +22,7 @@
# For `nix develop`: # For `nix develop`:
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
nativeBuildInputs = with pkgs; [ rustc cargo ]; nativeBuildInputs = with pkgs; [ rustc cargo cachix ];
}; };
} }
); );