summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorSamuel Perrouault <samuel.perrouault@gmail.com>2025-03-25 22:06:05 +0100
committerSamuel Perrouault <samuel.perrouault@gmail.com>2025-03-25 22:06:05 +0100
commit4f2d873f58709a3ba7d39905f95f333f71dcd552 (patch)
treeadf70efa0a60ab45a403450642e99dfbd5b06295 /shell.nix
initial commit
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..7df07fd
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,11 @@
+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.rustChannelOf { rustToolchain = ./rust-toolchain.toml; }).rust
+ ];
+ }