diff --git a/crates/templates_scaffolding_utils/src/lib.rs b/crates/templates_scaffolding_utils/src/lib.rs index ab337d5..4efd442 100644 --- a/crates/templates_scaffolding_utils/src/lib.rs +++ b/crates/templates_scaffolding_utils/src/lib.rs @@ -240,6 +240,9 @@ pub fn register_case_helpers<'a>(mut h: Handlebars<'a>) -> Handlebars<'a> { handlebars_helper!(pascal_case: |s: String| s.to_case(Case::Pascal)); h.register_helper("pascal_case", Box::new(pascal_case)); + handlebars_helper!(flat_case: |s: String| s.to_case(Case::Flat)); + h.register_helper("flat_case", Box::new(flat_case)); + h } diff --git a/nix/fixtures/module-repo/flake.lock b/nix/fixtures/module-repo/flake.lock index efabcbe..d7e9173 100644 --- a/nix/fixtures/module-repo/flake.lock +++ b/nix/fixtures/module-repo/flake.lock @@ -643,7 +643,7 @@ }, "locked": { "lastModified": 0, - "narHash": "sha256-VsYv4zgXo8yKNnjGuoq/iQS7kxAxCMdCWtFllG+2gq4=", + "narHash": "sha256-p7uspks0Vhdl1MYj79ktshTlX2f8jaBNKaxnAbhiQBg=", "path": "../../..", "type": "path" }, diff --git a/nix/zome.nix b/nix/zome.nix index d1b8d29..f5ee1c5 100644 --- a/nix/zome.nix +++ b/nix/zome.nix @@ -18,6 +18,11 @@ let }; cargoVendorDir = craneLib.vendorMultipleCargoDeps { + cargoConfigs = [ + (builtins.trace + (zomeCargoDeps { inherit craneLib; }).cargoVendorDir.outPath + ((zomeCargoDeps { inherit craneLib; }).cargoVendorDir + ./config.toml)) + ]; cargoLockList = [ ./reference-happ/Cargo.lock (workspacePath + /Cargo.lock) ]; }; @@ -25,7 +30,6 @@ let wasm = craneLib.buildPackage (commonArgs // { cargoArtifacts = (zomeCargoDeps { inherit craneLib; }).cargoArtifacts; inherit cargoVendorDir; - # = (zomeCargoDeps { inherit craneLib; }).cargoVendorDir; }); deterministicWasm = let