Skip to content

Commit

Permalink
Add hc-scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jun 4, 2024
1 parent 2409319 commit e18eb62
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-13]
package: [holochain, lair-keystore, hc-launch]
package: [holochain, lair-keystore, hc-launch hc-scaffold]
fail-fast: false

runs-on: ${{ matrix.os }}
Expand Down
18 changes: 18 additions & 0 deletions flake.lock

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

20 changes: 20 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
url = "github:holochain/launcher/holochain-weekly";
flake = false;
};

hc-scaffold = {
url = "github:holochain/scaffolding/holochain-weekly";
flake = false;
};
};

# outputs that this flake should produce
Expand Down Expand Up @@ -210,6 +215,19 @@
else
pkgs.stdenv;
});

hc-scaffold =
craneLib.buildPackage {
pname = "lair-keystore";
src = craneLib.cleanCargoSource inputs.hc-scaffold;

doCheck = false;

buildInputs = [
pkgs.go
pkgs.perl
];
};
in
{

Expand All @@ -218,13 +236,15 @@
inherit lair-keystore;
inherit rust;
inherit hc-launch;
inherit hc-scaffold;
};

devShells = {
default = pkgs.mkShell {
packages = [
holochain
lair-keystore
hc-scaffold
rust
];
};
Expand Down

0 comments on commit e18eb62

Please sign in to comment.