Dev Shells

fuel.nix also features a few devShells that make it easy to drop into a development shell for working on the fuel packages. They allow you to drop into a temporary shell with all the tools and environment variables required to build the various fuel projects yourself.

Dev ShellDescription
fuel-core-devA shell for working on the fuel-core repo.
sway-devA shell for working on the sway repo.
fuel-devA shell ready for working with on any Fuel repo.

You can enter a temporary dev shell like so:

nix develop github:fuellabs/fuel.nix#fuel-dev

Note that you can also enter a dev shell for individual packages. E.g. the following enters a dev shell with the required environment for working on the Sway language server implementation

nix develop github:fuellabs/fuel.nix#forc-lsp

Currently the vim plugin still needs to be installed separately. See the Overlays chapter and the Nix Vim wiki for more details.

Note: While these devShells might be useful to get started on developing fuel packages, ideally each upstream package would provide its own devShell so that it may iterate on its own shell with more freedom (without editing these downstream devShells).