Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
build: update nix hashes
Signed-off-by: isubasinghe <i.subasinghe@unsw.edu.au>
  • Loading branch information
isubasinghe committed May 30, 2024
commit de13964585890683a0431889a3dde7608a9a78c3
55 changes: 55 additions & 0 deletions dev/nix/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions dev/nix/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -190,26 +190,25 @@
pname = package.name;
inherit (package) version;
inherit src;
vendorHash = "sha256-DHqQigUi31GdCFsjvAu1jU1PRNuPW/f3ECrgVd6bvuk=";
vendorHash = "sha256-WbceAnRCkYEWpsUEK7iaj8mkbwcfWdn1U+cbWJnFbbk=";
doCheck = false;
};

mockery = pkgs.buildGoModule rec {
pname = "mockery";
version = "2.42.0"; # upgrade this in the Makefile if upgraded here
version = "2.26.0"; # upgrade this in the Makefile if upgraded here

src = pkgs.fetchFromGitHub {
owner = "vektra";
repo = "mockery";
rev = "v${version}";
sha256 = "sha256-wwt7rhHWPlYtvudWKb8vk8t19MeN7AMfMugs0XeBDVk=";
rev = "v${version}"; # Look 4 lines below this one!!!
sha256 = "sha256-3wJ7XY/wfVXB4nEHLqEtNRscow/KrAo79sr2OgJisSY=";
};
doCheck = false;
vendorHash = "sha256-J7eL2AQ6v5nG2lZOSSZQOTKBhfk7GtDtqZ7Felo0l54=";

ldflags = [
"-X 'github.com/vektra/mockery/v2/pkg/logging.SemVer=v${version}'" # IMPERATIVE TO ENSURE PATH STAYS THE SAME WHEN VERSION CHANGES
"-X github.com/vektra/mockery/v2/pkg/logging.SemVer=v${version}" # IMPERATIVE TO LOOK AT SOURCE CODE WHEN UPDATING VERSION!!!
];
doCheck = false;
vendorHash = "sha256-J7eL2AQ6v5nG2lZOSSZQOTKBhfk7GtDtqZ7Felo0l54=";
};

protoc-gen-gogo-all = pkgs.buildGoModule rec {
Expand Down