Skip to content

Commit

Permalink
fix: override the vendorHash
Browse files Browse the repository at this point in the history
* this is a terrible hack but unfortunately it's necessary because
  buildGoModule computes the vendorHash after installing all Go modules
* although overriding the vendorHash works just fine, there's still
  something wrong because the overlay is not applied properly, as per

    kluctl --version
    kluctl version v2.22.1

Resolves:
Related: NixOS/nixpkgs#86349
Signed-off-by: Daniel-Andrei Minca <[email protected]>
  • Loading branch information
dminca committed Jul 7, 2024
1 parent eabf6f5 commit 0dbe6cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions overlays/kluctl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
kluctl = prev.kluctl.override {
buildGoModule = previousArgs: let self = prev.buildGoModule (previousArgs // {
version = "2.25.0";
vendorHash = "sha256-TckT39wQn4dclcYSfxootv1Lw5+iYxY6/wwdUc1+Z6s=";
src = prev.fetchFromGitHub {
owner = "kluctl";
repo = "kluctl";
Expand Down

0 comments on commit 0dbe6cb

Please sign in to comment.