Skip to content

Commit

Permalink
Include lair-keystore in CI shell
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jul 12, 2024
1 parent 152afaa commit 5d502f3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 73 deletions.
76 changes: 14 additions & 62 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 17 additions & 11 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@
url = "github:holochain/tryorama/v0.17.0-dev.1";
inputs = {
nixpkgs.follows = "holonix/nixpkgs";

crane.follows = "holonix/crane";
rust-overlay.follows = "holonix/rust-overlay";
};
};

crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "holonix/nixpkgs";
};

rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs = {
Expand All @@ -28,11 +34,11 @@
};
};

outputs = inputs@{ flake-parts, holonix, ... }: flake-parts.lib.mkFlake { inherit inputs; } ({ flake-parts-lib, ... }: {
outputs = inputs@{ flake-parts, crane, rust-overlay, nixpkgs, ... }: flake-parts.lib.mkFlake { inherit inputs; } ({ flake-parts-lib, ... }: {
systems = builtins.attrNames inputs.holonix.devShells;
perSystem = { inputs', pkgs, system, config, ... }:
let
rustMod = flake-parts-lib.importApply ./nix/modules/rust.nix { inherit (holonix.inputs) crane; inherit (inputs) nixpkgs rust-overlay; };
rustMod = flake-parts-lib.importApply ./nix/modules/rust.nix { inherit crane rust-overlay nixpkgs; };
in
{
imports = [
Expand All @@ -49,10 +55,7 @@
devShells.default = pkgs.mkShell {
inputsFrom = [ inputs'.holonix.devShells ];

packages = (with inputs'.holonix.packages; [
holochain
rust # For Rust development, with the WASM target included for zome builds
]) ++ (with pkgs; [
packages = with pkgs; [
pkgs.influxdb2-cli
pkgs.influxdb2-server
# TODO https://docs.influxdata.com/telegraf/v1/install/#ntp
Expand All @@ -61,9 +64,11 @@
pkgs.httpie
pkgs.shellcheck
pkgs.statix
inputs.tryorama.packages.${system}.trycp-server
# inputs.amber.packages.${system}.default
]);
inputs'.holonix.packages.holochain
inputs'.holonix.packages.lair-keystore
inputs'.tryorama.packages.trycp-server
inputs'.amber.packages.default
];

shellHook = ''
source ./scripts/influx.sh
Expand All @@ -80,7 +85,8 @@
pkgs.shellcheck
pkgs.statix
inputs'.holonix.packages.holochain
inputs.tryorama.packages.${system}.trycp-server
inputs'.holonix.packages.lair-keystore
inputs'.tryorama.packages.trycp-server
];
};

Expand Down

0 comments on commit 5d502f3

Please sign in to comment.