This commit is contained in:
41666 2023-09-04 01:30:40 -04:00
parent c58fdf06b7
commit be38bb6b5f
3 changed files with 17 additions and 1 deletions

3
.envrc Normal file
View file

@ -0,0 +1,3 @@
use nix
source .envrc-local

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
/target
.DS_Store
*/.DS_Store
*/.DS_Store
.envrc-local

12
shell.nix Normal file
View 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
];
}