Skip to content

Commit

Permalink
fix pystarport
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Jun 30, 2022
1 parent f445500 commit 7a19d5e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
1 change: 0 additions & 1 deletion integration_tests/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pkgs.mkShell {
}) # cronosd
pkgs.start-scripts
pkgs.go-ethereum
pkgs.pystarport
pkgs.gorc
pkgs.cosmovisor
pkgs.poetry
Expand Down
8 changes: 1 addition & 7 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@ import sources.nixpkgs {
};
}) # update to a version that supports eip-1559
(import (sources.gomod2nix + "/overlay.nix"))
(_: pkgs: {
pystarport = pkgs.poetry2nix.mkPoetryApplication rec {
projectDir = sources.pystarport;
src = projectDir;
};
})
(_: pkgs:
(pkgs: _:
import ./scripts.nix {
inherit pkgs;
config = {
Expand Down
4 changes: 2 additions & 2 deletions nix/scripts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

}: rec {
start-chainmain = pkgs.writeShellScriptBin "start-chainmain" ''
export PATH=${pkgs.pystarport}/bin:${chainmain}/bin:$PATH
export PATH=${pkgs.test-env}/bin:${chainmain}/bin:$PATH
${../scripts/start-chainmain} ${config.chainmain-config} ${config.dotenv} $@
'';
start-cronos = pkgs.writeShellScriptBin "start-cronos" ''
# rely on environment to provide cronosd
export PATH=${pkgs.pystarport}/bin:$PATH
export PATH=${pkgs.test-env}/bin:$PATH
${../scripts/start-cronos} ${config.cronos-config} ${config.dotenv} $@
'';
start-geth = pkgs.writeShellScriptBin "start-geth" ''
Expand Down
13 changes: 0 additions & 13 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,6 @@
"url": "https://github.com/nix-community/poetry2nix/archive/302a559a298ba39a0bec53f46479da9c5b2558cd.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"pystarport": {
"branch": "main",
"description": "pystarport setup and run local devnet for cosmos like blockchains",
"homepage": null,
"owner": "crypto-com",
"repo": "pystarport",
"rev": "5a2732f7de8dc3db23e44db1cb332926741222c4",
"sha256": "0wqkkr7flhvmczw1y2y0v698ywnq6b6rfwhx58r1zg7nwyla32hm",
"type": "tarball",
"url": "https://github.com/crypto-com/pystarport/archive/5a2732f7de8dc3db23e44db1cb332926741222c4.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
"version": "v0.2.3"
},
"rocksdb": {
"branch": "v6.29.5",
"description": "A library that provides an embeddable, persistent key-value store for fast storage.",
Expand Down

0 comments on commit 7a19d5e

Please sign in to comment.