Skip to content

Commit

Permalink
shell.nix: Initial commit (#209)
Browse files Browse the repository at this point in the history
This file profiles instructions for nix <https://en.wikipedia.org/wiki/Nix_package_manager> to standardize a reproducible environment for dependencies needed to work with the source code namely stable rustlang backend from mozilla overlay
  • Loading branch information
Kreyren authored Oct 18, 2021
1 parent d761849 commit 84ddebb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# NixOS shell configuration to bootstrap the required dependencies

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.stable.rust
];
}

0 comments on commit 84ddebb

Please sign in to comment.