mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-25 09:54:31 +02:00
Fix outputting vendorSha256 to nix/vendor-sha256 (#266)
* Fix outputting `vendorSha256` to `nix/vendor-sha256` * Add `nix/vendor-sha256` to make tools like `nix run` happy.
This commit is contained in:
@@ -3,7 +3,13 @@
|
|||||||
pkgs ? import <nixpkgs> {},
|
pkgs ? import <nixpkgs> {},
|
||||||
}:
|
}:
|
||||||
pkgs.callPackage (import ./.) {
|
pkgs.callPackage (import ./.) {
|
||||||
buildGoModule = pkgs.buildGo118Module;
|
## Keeping `buildGoModule` commented out in case it's needed in the future.
|
||||||
|
## As of writing, `buildGo121Module` is currently used as the default for
|
||||||
|
## `buildGoModule` in nixpkgs. `buildGo118Module` seems deprecated and
|
||||||
|
## entirely removed from nixpkgs, so manually setting that is likely to cause
|
||||||
|
## issues in the future.
|
||||||
|
|
||||||
|
# buildGoModule = pkgs.buildGo118Module;
|
||||||
vendorSha256 = sha256;
|
vendorSha256 = sha256;
|
||||||
}
|
}
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
sha256-yL5pWbVqf6mEpgYsItLnv8nwSmoMP+SE0rX/s7u2vCg=
|
||||||
|
|||||||
Reference in New Issue
Block a user