e0/default.nix

15 lines
363 B
Nix

{ rustPlatform, lib, nix-gitignore, llvmPackages_12 }:
let llvmPkgs = llvmPackages_12;
in with llvmPkgs;
rustPlatform.buildRustPackage {
name = "e0";
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
buildInputs = [ llvmPkgs.llvm.dev ];
cargoSha256 = lib.fakeSha256;
# cargoSha256 = "sha256-rWMnlkb/XoycP69NOOmg7Wd4qPgliuvOKGWaEth/8tg=";
}