Skip to content

Commit

Permalink
Merge pull request #987 from candy-lang/support-nix
Browse files Browse the repository at this point in the history
Fix Nix setup
  • Loading branch information
jwbot authored Mar 14, 2024
2 parents ed3bf74 + 171d1c2 commit 60f66ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ There are still compiler bugs and performance improvements that need work before
## How to use Candy

1. Install [<img height="16" src="https://rust-lang.org/static/images/favicon.svg"> Rust](https://rust-lang.org): [rust-lang.org/tools/install](https://rust-lang.org/tools/install) (use Rustup since we use nightly features).
- Alternatively, use the provided [<img height="16" src="https://nixos.org/_astro/flake-blue.Bf2X2kC4_Z1yqDoT.svg"> Nix](https://nixos.org/) flake to install all required dependencies.
2. Clone this repo.

Then, you can use Candy in two ways:
Expand Down
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
llvmPackages_15.clangUseLLVM
llvmPackages_15.llvm
mold
nodejs_18
nodePackages.typescript
rustToolchain
rust-analyzer
sccache
Expand Down
1 change: 1 addition & 0 deletions vscode_extension/package-lock.json

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

2 changes: 2 additions & 0 deletions vscode_extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"directory": "new-new-packages/vscode_extension"
},
"//": "Keep in sync with `devDependencies.@types/vscode`",
"//": "https://github.com/ewanharris/vscode-versions",
"engines": {
"node": "^18.17.1",
"vscode": "^1.86.0"
},
"categories": [
Expand Down

0 comments on commit 60f66ed

Please sign in to comment.