Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions book/src/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The `fuel.nix` flake provides the following packages:
| [`fuel-core-client`][fuel-core-repo] | A Fuel VM transaction client. |
| [`forc`][sway-repo] | The Fuel Orchestrator. Compiler, packaging and plugin support. |
| [`forc-client`][sway-repo] | Provides the `forc deploy` and `forc run` commands. |
| [`forc-crypto`][sway-repo] | A Forc plugin for hashing arbitrary data. |
| [`forc-crypto`][forc-repo] | A Forc plugin for hashing arbitrary data. |
| [`forc-debug`][sway-repo] | A Forc plugin for debugging via CLI and IDE. |
| [`forc-doc`][sway-repo] | Sway API documentation generator. |
| [`forc-fmt`][sway-repo] | The Sway code formatter. |
Expand All @@ -18,7 +18,7 @@ The `fuel.nix` flake provides the following packages:
| [`forc-call`][sway-repo] | A Forc plugin to call contracts and query the chain from the CLI. |
| [`forc-migrate`][sway-repo] | Migrate Sway projects to the next breaking version. |
| [`forc-publish`][sway-repo] | Publish a package to the Forc registry. |
| [`forc-wallet`][forc-wallet-repo] | A Fuel Wallet CLI implementation. |
| [`forc-wallet`][forc-repo] | A Fuel Wallet CLI implementation. |
| [`sway-vim`][sway-vim-repo] | The Sway Vim plugin. |
| `fuel` | All of the above tools under a single package. |

Expand Down Expand Up @@ -138,7 +138,7 @@ nix run github:fuellabs/fuel.nix#forc-fmt-0-24-3-nightly-2022-09-14
> **Note:** that when building an older version or nightly, they may no longer
> be available in the binary cache and may need to be rebuilt!

[forc-wallet-repo]: https://github.com/fuellabs/forc
[forc-repo]: https://github.com/fuellabs/forc
[fuel-core-repo]: https://github.com/fuellabs/fuel-core
[sway-repo]: https://github.com/fuellabs/sway
[sway-vim-repo]: https://github.com/fuellabs/sway.vim
12 changes: 6 additions & 6 deletions flake.lock

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

8 changes: 8 additions & 0 deletions manifests/forc-crypto-0.0.0-nightly-2025-12-08.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
pname = "forc-crypto";
version = "0.0.0";
date = "2025-12-08";
url = "https://github.com/fuellabs/forc";
rev = "d01e86b68a3e1491791733bbc61a0c96d0b4c7dd";
sha256 = "sha256-i2mEoi695f7LRkkhGtfOUpedHhRiLu0rggV15wlku5U=";
}
8 changes: 8 additions & 0 deletions manifests/forc-crypto-0.71.0.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
pname = "forc-crypto";
version = "0.71.0";
date = "2025-12-08";
url = "https://github.com/fuellabs/forc";
rev = "3f7f10bc975094e260e871e0a46383e819d5fbea";
sha256 = "sha256-xoKobcqnk1SAljakML0nmEQezPb0IxYyMs9EtnHwF28=";
}
8 changes: 8 additions & 0 deletions patches.nix
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,14 @@ in [
};
}

# forc-crypto 0.71.0+ is built from the forc monorepo where it's in a subdirectory.
{
condition = m: m.pname == "forc-crypto" && m.src.gitRepoUrl == "https://github.com/fuellabs/forc";
patch = m: {
buildAndTestSubdir = "forc-crypto";
};
}

# At some point around this date, Sway LSP started requiring the CoreServices
# framework on Darwin due to a dependency update. Here we just make it
# available to all fuel packages going forward.
Expand Down
5 changes: 4 additions & 1 deletion script/refresh-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ declare -A pkg_forc_client=(
[name]="forc-client"
[repo]="${fuel_repos[sway]}"
)
# forc-crypto migrated to forc monorepo at 0.71.0; legacy repo (sway) for older versions.
declare -A pkg_forc_crypto=(
[name]="forc-crypto"
[repo]="${fuel_repos[sway]}"
[repo]="${fuel_repos[forc]}"
[legacy_repo]="${fuel_repos[sway]}"
[legacy_before]="0.71.0"
)
declare -A pkg_forc_debug=(
[name]="forc-debug"
Expand Down