From 806bf92f0573af09c0946ba5e3e3376464142298 Mon Sep 17 00:00:00 2001 From: "guillem.cordoba" Date: Mon, 4 Mar 2024 16:55:26 +0100 Subject: [PATCH] Renamed argument --- flake.nix | 4 ++-- nix/zome.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 ];