Skip to content

Commit

Permalink
fix nix
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Aug 25, 2022
1 parent c227118 commit 24e11c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import sources.nixpkgs {
flake-compat = import sources.flake-compat;
}) # update to a version that supports eip-1559
(import (sources.gomod2nix + "/overlay.nix"))
(_: pkgs:
(pkgs: _:
import ./scripts.nix {
inherit pkgs;
config = {
Expand Down Expand Up @@ -54,7 +54,7 @@ import sources.nixpkgs {
(_: pkgs: {
rocksdb = pkgs.rocksdb.overrideAttrs (old: rec {
pname = "rocksdb";
version = "6.27.3";
version = "6.29.5";
src = sources.rocksdb;
});
})
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

0 comments on commit 24e11c9

Please sign in to comment.