diff --git a/flake.nix b/flake.nix index f674095..4d2cd2b 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,7 @@ { flake = { lib = { - rustZome = { cratePath, holochain, workspacePath, optimizeWasm ? true, excludedCrates ? [] }: + rustZome = { cratePath, holochain, workspacePath, optimizeWasms ? true, excludedCrates ? [] }: let system = holochain.devShells.holonix.system; pkgs = import inputs.nixpkgs { @@ -44,7 +44,7 @@ in pkgs.callPackage ./nix/zome.nix { - inherit craneLib cratePath excludedCrates workspacePath optimizeWasm; + inherit craneLib cratePath excludedCrates workspacePath optimizeWasms; }; dna = { holochain, dnaManifest, zomes }: let diff --git a/nix/zome.nix b/nix/zome.nix index e886bda..d3128ff 100644 --- a/nix/zome.nix +++ b/nix/zome.nix @@ -5,7 +5,7 @@ workspacePath, cratePath, excludedCrates, - optimizeWasm + optimizeWasms }: let @@ -32,7 +32,7 @@ let doCheck = false; }; in - if optimizeWasm then + if optimizeWasms then stdenv.mkDerivation { name = crate; buildInputs = [ wasm binaryen ];