mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-26 02:04:31 +02:00
Update and fix nix flake (#341)
Since nix tries to update inputs on newer versions out of, I suppose, some introduced incompatibility, `nix build` fails. And nixpkgs from 2023 sounds rather obsolete at this point, so update was kinda due I think. On newer versions of nixpkgs however buildGoModule has changed and requires one of its arguments to be called vendorHash and not vendorSha256, this patch changes that as well. Fixes #297, closes #314, closes #307
This commit is contained in:
4
.github/workflows/nix.yml
vendored
4
.github/workflows/nix.yml
vendored
@@ -20,13 +20,13 @@ jobs:
|
||||
NIX_CONFIG: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Update packwiz version
|
||||
run: nix run nixpkgs#nix-prefetch ./nix/prefetcher.nix | tee ./nix/vendor-sha256
|
||||
run: nix run nixpkgs#nix-prefetch ./nix/prefetcher.nix | tee ./nix/vendor-hash
|
||||
env:
|
||||
NIX_CONFIG: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Commit
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "chore: update packwiz vendorSha256"
|
||||
commit_message: "chore: update packwiz vendorHash"
|
||||
branch: main
|
||||
|
||||
|
||||
Reference in New Issue
Block a user