mirror of
https://github.com/youwen5/nix-dev-envs.git
synced 2024-11-24 18:33:50 -08:00
Compare commits
No commits in common. "5727abc8e4b5a7181d147ff142d8f5eb90cd17a1" and "9abdc1e6be295715ebec6eccf828484e619ef257" have entirely different histories.
5727abc8e4
...
9abdc1e6be
2 changed files with 0 additions and 22 deletions
19
README.md
19
README.md
|
@ -44,25 +44,6 @@ If you don't want to commit these files, make sure to run the following:
|
|||
git update-index --skip-worktree .envrc .direnv
|
||||
```
|
||||
|
||||
## Use without downloading
|
||||
|
||||
You can also use this in `nix develop` or with `direnv` without downloading it locally it.
|
||||
Simply reference the flake remotely like so:
|
||||
|
||||
```bash
|
||||
nix develop "github:youwen5/nix-dev-envs#<environment>"
|
||||
```
|
||||
|
||||
Or in direnv, similarly:
|
||||
|
||||
```bash
|
||||
use flake "github:youwen5/nix-dev-envs#<environment>"
|
||||
```
|
||||
|
||||
> [!WARNING]
|
||||
> You may not be able to access these environments offline, so you should
|
||||
> clone the repo if you want to be able to activate them when offline.
|
||||
|
||||
## Provided environments:
|
||||
|
||||
- Go
|
||||
|
|
|
@ -60,21 +60,18 @@
|
|||
rustBeta = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
rust-bin.beta.latest.default
|
||||
rust-analyzer
|
||||
];
|
||||
};
|
||||
|
||||
rustNightly = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
rust-bin.nightly.latest.default
|
||||
rust-analyzer
|
||||
];
|
||||
};
|
||||
|
||||
rustStable = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
rust-bin.stable.latest.default
|
||||
rust-analyzer
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue