laconicd-deprecated/tests/integration_tests/configs/upgrade-test-package.nix
2023-03-13 12:34:10 +05:30

17 lines
603 B
Nix

let
pkgs = import ../../../nix { };
fetchEthermint = rev: builtins.fetchTarball "https://github.com/cerc-io/laconicd/archive/${rev}.tar.gz";
released = pkgs.buildGo118Module rec {
name = "laconicd";
src = fetchEthermint "d29cdad6e667f6089dfecbedd36bb8d3a2a7d025";
subPackages = [ "cmd/laconicd" ];
vendorSha256 = "sha256-cQAol54b6hNzsA4Q3MP9mTqFWM1MvR5uMPrYpaoj3SY=";
doCheck = false;
};
current = pkgs.callPackage ../../../. { };
in
pkgs.linkFarm "upgrade-test-package" [
{ name = "genesis"; path = released; }
{ name = "integration-test-upgrade"; path = current; }
]