Skip to content

Commit

Permalink
Fast track disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Oct 28, 2024
1 parent e36be7c commit 5493523
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,16 @@
customTemplatePath = ./templates/app;
};

packages.hc-scaffold-zome-template =
inputs.scaffolding.lib.wrapCustomTemplate {
packages.hc-scaffold-zome-template = let
customHcScaffold = inputs.scaffolding.lib.wrapCustomTemplate {
inherit pkgs system;
customTemplatePath = ./templates/zome;
};
fastTrackDisabled = pkgs.runCommand "hc-scaffold" {
buildInputs = [ pkgs.makeWrapper ];
}
" mkdir $out/bin -p\n\n makeWrapper ${customHcScaffold}/bin/hc-scaffold $out/bin/hc-scaffold \\\n --add-flags \"--disable-fast-track\"\n";
in fastTrackDisabled;
};
};
}

0 comments on commit 5493523

Please sign in to comment.