Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Sep 19, 2024
1 parent b4d4726 commit 0653e6d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/holochain-cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down
2 changes: 1 addition & 1 deletion modules/holochain-windows.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion modules/lair-keystore-cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down
2 changes: 1 addition & 1 deletion modules/lair-keystore-windows.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 0653e6d

Please sign in to comment.