Skip to content
Closed
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
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,35 @@ The flake schemas are also helpful:
}
```

## Toolchains

**Toolchains** are configurable sets of tools that you can add to a dev shell.

```nix
{
devShells = forEachSupportedSystem (
{ pkgs, system }:
{
default =
let
pythonToolchain = inputs.up.toolchains.${system}.python { uv = true; };
rustToolchain = inputs.up.toolchains.${system}.rust { channel = "nightly"; };
in
pkgs.mkShell {
packages = [
pythonToolchain.packages
rustToolchain.packages
];

shellHook = ''
${pythonToolchain.shellHook}
'';
};
}
);
}
```

## Process trees

**Process trees** are process-compose configurations built with Nix.
Expand Down
38 changes: 38 additions & 0 deletions flake.lock

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

Loading