diff --git a/modules/holochain-cross.nix b/modules/holochain-cross.nix index 0f0ac94..e87da92 100644 --- a/modules/holochain-cross.nix +++ b/modules/holochain-cross.nix @@ -82,7 +82,7 @@ let # See: https://doc.rust-lang.org/cargo/reference/config.html#target CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER = "${stdenv.cc.targetPrefix}cc"; CARGO_TARGET_AARCH64_UNKNOWN_APPLE_LINKER = "${stdenv.cc.targetPrefix}cc"; - CARGO_PROFILE="release"; + CARGO_PROFILE = "release"; # Tell cargo which target we want to build (so it doesn't default to the build system). cargoExtraArgs = "--target ${rustTargetTriple}"; diff --git a/modules/holochain-windows.nix b/modules/holochain-windows.nix index ed067dd..b14e6f3 100644 --- a/modules/holochain-windows.nix +++ b/modules/holochain-windows.nix @@ -55,7 +55,7 @@ let doCheck = false; CARGO_BUILD_TARGET = "x86_64-pc-windows-gnu"; - CARGO_PROFILE="release"; + CARGO_PROFILE = "release"; # fixes issues related to libring TARGET_CC = "${pkgs.pkgsCross.mingwW64.stdenv.cc}/bin/${pkgs.pkgsCross.mingwW64.stdenv.cc.targetPrefix}cc"; diff --git a/modules/lair-keystore-cross.nix b/modules/lair-keystore-cross.nix index 120f953..e24189c 100644 --- a/modules/lair-keystore-cross.nix +++ b/modules/lair-keystore-cross.nix @@ -79,7 +79,7 @@ let # See: https://doc.rust-lang.org/cargo/reference/config.html#target CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER = "${stdenv.cc.targetPrefix}cc"; CARGO_TARGET_AARCH64_UNKNOWN_APPLE_LINKER = "${stdenv.cc.targetPrefix}cc"; - CARGO_PROFILE="release"; + CARGO_PROFILE = "release"; # Tell cargo which target we want to build (so it doesn't default to the build system). cargoExtraArgs = "--target ${rustTargetTriple}"; diff --git a/modules/lair-keystore-windows.nix b/modules/lair-keystore-windows.nix index fc59452..761f3e8 100644 --- a/modules/lair-keystore-windows.nix +++ b/modules/lair-keystore-windows.nix @@ -36,7 +36,7 @@ let doCheck = false; CARGO_BUILD_TARGET = "x86_64-pc-windows-gnu"; - CARGO_PROFILE="release"; + CARGO_PROFILE = "release"; # fixes issues related to libring TARGET_CC = "${pkgs.pkgsCross.mingwW64.stdenv.cc}/bin/${pkgs.pkgsCross.mingwW64.stdenv.cc.targetPrefix}cc";