Skip to content

Commit

Permalink
removed juno, added beaker for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Jun 6, 2023
1 parent 7f4f6b0 commit 83dc152
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,11 @@
./inputs/centauri/flake-module.nix
./inputs/chevdor/subwasm.nix
./inputs/cosmos/cosmwasm.nix
./inputs/notional-labs/composable-centauri/flake-module.nix
./inputs/cosmos/gex.nix
./inputs/CosmosContracts/juno.nix
./inputs/CosmWasm/wasmvm.nix
./inputs/notional-labs/composable-centauri/flake-module.nix
./inputs/osmosis-labs/beaker/flake-module.nix
./inputs/paritytech/cumulus.nix
./inputs/paritytech/polkadot.nix
./inputs/paritytech/substrate.nix
Expand Down
6 changes: 1 addition & 5 deletions flake/dev-shells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@
};
cosmosattrs = defaultattrs // {
modules = [{
packages = tools ++ (with self'.packages; [ junod gex ]);
packages = tools ++ (with self'.packages; [ gex ]);
devcontainer.enable = true;
inherit env;
enterShell = ''
echo "junod alice key:"
echo "clip hire initial neck maid actor venue client foam budget lock catalog sweet steak waste crater broccoli pipe steak sister coyote moment obvious choose" | junod keys add alice --recover --keyring-backend test || true
'';
}];
};
allattrs = defaultattrs // {
Expand Down
5 changes: 0 additions & 5 deletions inputs/cosmos/cosmwasm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@
subwasm
pkgs.binaryen
cosmwasm-check
junod
];
shellHook = ''
echo "junod alice key:"
echo "clip hire initial neck maid actor venue client foam budget lock catalog sweet steak waste crater broccoli pipe steak sister coyote moment obvious choose" | junod keys add alice --recover --keyring-backend test || true
'';
};
};
};
Expand Down
27 changes: 27 additions & 0 deletions inputs/osmosis-labs/beaker/flake-module.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ self, ... }: {
perSystem = { config, self', inputs', pkgs, system, crane, systemCommonRust
, subnix, ... }: {
packages = rec {
beaker = let
name = "beaker";
src = pkgs.fetchFromGitHub {
owner = "dzmitry-lahoda-forks";
repo = name;
rev = "d6700f03da8e93de3e5e327c2e87d93fde3967b8";
hash = "sha256-42j/ZP8Gyn1gyPTLNMpWJH5pLqz2Ufd8hSb6g8SnkCU=";
};
in crane.stable.buildPackage (subnix.subenv // {
name = name;
cargoArtifacts = crane.stable.buildDepsOnly (subnix.subenv // {
inherit src;
doCheck = false;
cargoTestCommand = "";
nativeBuildInputs = systemCommonRust.darwin-deps;
});
inherit src;
cargoTestCommand = "";
meta = { mainProgram = name; };
});
};
};
}

0 comments on commit 83dc152

Please sign in to comment.