Skip to content

Commit

Permalink
Fixed new holonix
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Sep 2, 2024
1 parent 3284d28 commit 5996a71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@ nix run github:holochain-open-dev/templates#hc-scaffold-zome-template -- web-app
description = "Template for Holochain app development";

inputs = {
versions.url = "github:holochain/holochain?dir=versions/weekly";

holochain-flake.url = "github:holochain/holochain";
holochain-flake.inputs.versions.follows = "versions";

nixpkgs.follows = "holochain-flake/nixpkgs";
flake-parts.follows = "holochain-flake/flake-parts";
holonix.url = "github:holochain/holonix/main-0.3";
nixpkgs.follows = "holonix/nixpkgs";
flake-parts.follows = "holonix/flake-parts";

+ scaffolding.url = "github:holochain-open-dev/templates";
};
Expand All @@ -55,7 +51,7 @@ nix run github:holochain-open-dev/templates#hc-scaffold-zome-template -- web-app
inherit inputs;
}
{
systems = builtins.attrNames inputs.holochain-flake.devShells;
systems = builtins.attrNames inputs.holonix.devShells;
perSystem =
{ inputs'
, config
Expand All @@ -64,7 +60,7 @@ nix run github:holochain-open-dev/templates#hc-scaffold-zome-template -- web-app
, ...
}: {
devShells.default = pkgs.mkShell {
inputsFrom = [ inputs'.holochain-flake.devShells.holonix ];
inputsFrom = [ inputs'.holonix.devShells.default ];
packages = [
pkgs.nodejs_20
# more packages go here
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{{zome_manifest.name}}_integrity = self'.packages.{{zome_manifest.name}}_integrity;
{{zome_manifest.name}} = self'.packages.{{zome_manifest.name}};
};
holochain = inputs'.holochain;
inherit system;
});
crateCargoToml = ./Cargo.toml;
cargoArtifacts = inputs.hc-infra.outputs.lib.holochainCargoArtifacts {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{{snake_case app_name}}_integrity = self'.packages.{{snake_case app_name}}_integrity;
{{snake_case app_name}} = self'.packages.{{snake_case app_name}};
};
holochain = inputs'.holochain;
inherit system;
});
crateCargoToml = ./Cargo.toml;
cargoArtifacts = inputs.hc-infra.outputs.lib.holochainCargoArtifacts {
Expand Down

0 comments on commit 5996a71

Please sign in to comment.