use direnv
This commit is contained in:
parent
9c0c3d8c9c
commit
3129df1a2c
4 changed files with 4 additions and 5 deletions
5
.vscode/extensions.json
vendored
5
.vscode/extensions.json
vendored
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"rust-lang.rust-analyzer",
|
"rust-lang.rust-analyzer",
|
||||||
"jnoortheen.nix-ide"
|
"jnoortheen.nix-ide",
|
||||||
|
"mkhl.direnv"
|
||||||
]
|
]
|
||||||
}
|
}
|
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
|
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
// https://twitter.com/sridca/status/1674947342607216641
|
// https://twitter.com/sridca/status/1674947342607216641
|
||||||
// "editor.inlayHints.enabled": "offUnlessPressed",
|
// "editor.inlayHints.enabled": "offUnlessPressed",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
A template Rust project with fully functional and no-frills Nix support, as well as builtin VSCode configuration to get IDE experience without any manual setup (just open in VSCode and accept the suggestions).
|
A template Rust project with fully functional and no-frills Nix support, as well as builtin VSCode configuration to get IDE experience without any manual setup (just [install direnv](https://nixos.asia/en/direnv), open in VSCode and accept the suggestions).
|
||||||
|
|
||||||
>[!NOTE]
|
>[!NOTE]
|
||||||
> If you are looking for the original template based on [this blog post](https://srid.ca/rust-nix)'s use of `crate2nix`, browse from [this tag](https://github.com/srid/rust-nix-template/tree/crate2nix). The evolution of this template can be gleaned from [releases](https://github.com/srid/rust-nix-template/releases).
|
> If you are looking for the original template based on [this blog post](https://srid.ca/rust-nix)'s use of `crate2nix`, browse from [this tag](https://github.com/srid/rust-nix-template/tree/crate2nix). The evolution of this template can be gleaned from [releases](https://github.com/srid/rust-nix-template/releases).
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
(builtins.getFlake ("git+file://" + toString ./.)).devShells.${builtins.currentSystem}.default
|
|
Loading…
Reference in a new issue