Skip to content

Commit

Permalink
build: nix flake and Cargo dependency updates (#3)
Browse files Browse the repository at this point in the history
- Changes inspired by
https://fasterthanli.me/series/building-a-rust-service-with-nix/: sentry
- move dependencies to workspace
- `agg` now is available in `nixpkgs`, add it to dev shell to make it
easier to create demo GIFs =]
  • Loading branch information
luizirber authored May 6, 2023
1 parent a822305 commit bbfef0d
Show file tree
Hide file tree
Showing 10 changed files with 1,384 additions and 460 deletions.
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
use flake

dotenv .env
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,12 @@ jobs:
# Allow other jobs to finish building and cache properly before bailing
fail-fast: false
matrix:
include:
- os: ubuntu-latest
# Latest and greatest release of Nix
install_url: https://nixos.org/nix/install
os: [ubuntu-latest, macos-latest]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
install_url: ${{ matrix.install_url }}
- uses: cachix/cachix-action@v12
with:
name: sourmash-bio
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/target
.direnv/
sandbox/
result
Loading

0 comments on commit bbfef0d

Please sign in to comment.