environments: experiment with direnv
This commit is contained in:
parent
19c4a00650
commit
7210522683
2 changed files with 9 additions and 0 deletions
1
environments/rust/.envrc
Normal file
1
environments/rust/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use nix
|
8
environments/rust/default.nix
Normal file
8
environments/rust/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
with import <nixpkgs> {};
|
||||
stdenv.mkDerivation {
|
||||
name = "env";
|
||||
buildInputs = [
|
||||
zsh
|
||||
rustup
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue