Skip to content

Commit

Permalink
Pinned sqlformat
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Sep 11, 2024
1 parent 1038fb1 commit ff53979
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 17 deletions.
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ rec {
# CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS =
# " -Clink-arg=-fuse-ld=mold";
# CARGO_PROFILE = "release";
FIX_SQL_FMT = 1;
CARGO_PROFILE = "release";
pname = "sweettest";
version = "for-holochain-0.3.2";
Expand Down
15 changes: 10 additions & 5 deletions nix/fixtures/module-repo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions nix/fixtures/module-repo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,3 @@ holochain = "0.3.2"

[profile.release]
opt-level = "z"


[patch.crates-io]
# Revert to crates.io once https://github.com/holochain/lair/issues/133 is fixed
lair_keystore = { git = "https://github.com/guillemcordoba/lair", branch = "fix-sqlformat" }
lair_keystore_api = { git = "https://github.com/guillemcordoba/lair", branch = "fix-sqlformat" }
2 changes: 1 addition & 1 deletion nix/fixtures/module-repo/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nix/fixtures/module-repo/zomes/coordinator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ futures = { version = "0.3", default-features = false }
hdk = { workspace = true, features = ["encoding", "test_utils"] }
holochain = { workspace = true, features = ["test_utils"] }
tokio = { version = "1.3", features = ["full"] }
sqlformat = "=0.2.3"
5 changes: 1 addition & 4 deletions nix/sweettest.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ let

src = craneLib.cleanCargoSource (craneLib.path workspacePath);

commonArgs = {
inherit cargoArtifacts buildInputs src;
FIX_SQL_FMT = 1;
};
commonArgs = { inherit cargoArtifacts buildInputs src; };

listCratesFromWorkspace = src:
let
Expand Down

0 comments on commit ff53979

Please sign in to comment.