mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 04:56:30 +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:
parent
7e3ca8d9d5
commit
0c8beeac2f
@ -3,7 +3,13 @@
|
||||
pkgs ? import <nixpkgs> {},
|
||||
}:
|
||||
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;
|
||||
}
|
||||
// {
|
||||
|
@ -0,0 +1 @@
|
||||
sha256-yL5pWbVqf6mEpgYsItLnv8nwSmoMP+SE0rX/s7u2vCg=
|
Loading…
x
Reference in New Issue
Block a user