let moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz); pkgs = import { overlays = [ moz_overlay ]; }; rustChannel = pkgs.rustChannelOf { channel = "stable"; }; in with pkgs; mkShell { buildInputs = [ rustChannel.rust clang cmake pkgconfig ]; LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; }