Skip to content

Commit

Permalink
crane+flakify to fix serde_derive
Browse files Browse the repository at this point in the history
new serde breaks with crate2nix: serde-rs/serde#2538
  • Loading branch information
srhb committed Jul 28, 2023
1 parent f0d6a9c commit 6e265de
Show file tree
Hide file tree
Showing 7 changed files with 233 additions and 2,657 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v12
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-build Cargo.nix
- run: nix build
6 changes: 2 additions & 4 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v12
- uses: cachix/install-nix-action@v22
- name: Update dependencies
run: |
nix-shell --run "niv update"
nix-shell --run "cargo update"
nix-shell --run "crate2nix generate -n '(import ./nix/sources.nix).nixpkgs' -f Cargo.toml"
nix flake update --commit-lock-file
- name: Create pull request
id: pr
uses: peter-evans/create-pull-request@v3.10.0
Expand Down
Loading

0 comments on commit 6e265de

Please sign in to comment.