laconicd/tests/integration_tests/configs/upgrade-test-package.nix

18 lines
670 B
Nix
Raw Normal View History

2022-10-10 10:38:33 +00:00
let
pkgs = import ../../../nix { };
fetchEthermint = rev: builtins.fetchTarball "https://github.com/evmos/ethermint/archive/${rev}.tar.gz";
released = pkgs.buildGo118Module rec {
2022-10-13 05:53:17 +00:00
name = "laconicd";
2022-10-10 10:38:33 +00:00
# the commit before https://github.com/evmos/ethermint/pull/943
src = fetchEthermint "f21592ebfe74da7590eb42ed926dae970b2a9a3f";
2022-10-13 05:53:17 +00:00
subPackages = [ "cmd/laconicd" ];
2022-10-10 10:38:33 +00:00
vendorSha256 = "sha256-ABm5t6R/u2S6pThGrgdsqe8n3fH5tIWw7a57kxJPbYw=";
doCheck = false;
};
current = pkgs.callPackage ../../../. { };
in
pkgs.linkFarm "upgrade-test-package" [
{ name = "genesis"; path = released; }
{ name = "integration-test-upgrade"; path = current; }
]