From 0a31327eae820debeedc540ce62412a1a44b2031 Mon Sep 17 00:00:00 2001 From: "guillem.cordoba" Date: Wed, 10 Apr 2024 12:53:24 +0200 Subject: [PATCH] Added scaffold --- flake.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/flake.nix b/flake.nix index 7e1fd55c..e7b4176f 100644 --- a/flake.nix +++ b/flake.nix @@ -41,6 +41,23 @@ nodejs_20 ]; }; + + packages.scaffold = pkgs.symlinkJoin { + name = "scaffold-remote-zome"; + paths = [ inputs'.hc-infra.packages.scaffold-remote-zome ]; + buildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/scaffold-remote-zome \ + --add-flags "profiles \ + --integrity-zome-name file_storage_integrity \ + --coordinator-zome-name file_storage \ + --remote-zome-git-url github:holochain-open-dev/file-storage \ + --remote-zome-git-branch nixify \ + --remote-npm-package-name @holochain-open-dev/file-storage \ + --remote-npm-package-path ui" + ''; + }; + }; }; }