mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-18 17:14:32 +01: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:
@@ -33,7 +33,7 @@
|
||||
in rec {
|
||||
packwiz = pkgs.callPackage ./nix {
|
||||
version = substring 0 8 self.rev or "dirty";
|
||||
vendorSha256 = readFile ./nix/vendor-sha256;
|
||||
vendorHash = readFile ./nix/vendor-hash;
|
||||
buildGoModule = pkgs.buildGoModule;
|
||||
# As of writing, `pkgs.buildGoModule` is aliased to
|
||||
# `pkgs.buildGo121Module` in Nixpkgs.
|
||||
|
||||
Reference in New Issue
Block a user