use nix
This commit is contained in:
parent
c58fdf06b7
commit
be38bb6b5f
3 changed files with 17 additions and 1 deletions
3
.envrc
Normal file
3
.envrc
Normal file
|
@ -0,0 +1,3 @@
|
|||
use nix
|
||||
|
||||
source .envrc-local
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
/target
|
||||
.DS_Store
|
||||
*/.DS_Store
|
||||
*/.DS_Store
|
||||
.envrc-local
|
12
shell.nix
Normal file
12
shell.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
let
|
||||
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
|
||||
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
||||
in
|
||||
with nixpkgs;
|
||||
stdenv.mkDerivation {
|
||||
name = "moz_overlay_shell";
|
||||
buildInputs = [
|
||||
nixpkgs.latest.rustChannels.nightly.rust
|
||||
nixpkgs.rust-analyzer
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue