parent
2ff806e7c6
commit
98a5117ab9
2 changed files with 2 additions and 6 deletions
|
@ -9,10 +9,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout
|
||||
- name: Set up Cachix
|
||||
run: |
|
||||
nix-env -iA nixpkgs.cachix nixpkgs.bash
|
||||
cachix use $CACHIX_NAME
|
||||
- name: Build
|
||||
run: |
|
||||
cachix watch-exec $CACHIX_NAME nix build
|
||||
nix develop --command bash --command 'cachix use $CACHIX_NAME && cachix watch-exec $CACHIX_NAME nix build'
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
# For `nix develop`:
|
||||
devShell = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [ rustc cargo ];
|
||||
nativeBuildInputs = with pkgs; [ rustc cargo cachix ];
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue