with import <nixpkgs> {}; let src = fetchFromGitHub { owner = "mozilla"; repo = "nixpkgs-mozilla"; rev = "b52a8b7de89b1fac49302cbaffd4caed4551515f"; sha256 = "1np4fmcrg6kwlmairyacvhprqixrk7x9h89k813safnlgbgqwrqb"; }; in with import "${src.out}/rust-overlay.nix" pkgs pkgs; clangStdenv.mkDerivation { name = "rust-git-pijul"; buildInputs = [ rustChannels.stable.rust rustracer libsodium pkgconfig openssl nettle ]; LIBCLANG_PATH="${llvmPackages.libclang}/lib"; RUST_SRC_PATH = "${latest.rustChannels.stable.rust-src}/lib/rustlib/src/rust/src"; }