Skip to content

Commit

Permalink
add shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Nov 14, 2023
1 parent 01af3b7 commit a042276
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
let
mozillaOverlay =
import (builtins.fetchGit {
url = "https://github.com/mozilla/nixpkgs-mozilla.git";
});
nixpkgs = import <nixpkgs> { overlays = [ mozillaOverlay ]; };
in
with nixpkgs; pkgs.mkShell {
nativeBuildInputs = [
(nixpkgs.rustChannelOf { date = "2023-10-25"; channel = "nightly"; }).rust
];
}

0 comments on commit a042276

Please sign in to comment.