23 lines
543 B
Nix
23 lines
543 B
Nix
{ fenix, makeRustPlatform, lib, nix-gitignore, llvmPkgs, libffi }:
|
|
|
|
with llvmPkgs;
|
|
|
|
let rustPlatform = makeRustPlatform { inherit (fenix.minimal) cargo rustc; };
|
|
|
|
in rustPlatform.buildRustPackage {
|
|
name = "e0";
|
|
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
|
|
|
|
nativeBuildInputs = [ llvm.dev ];
|
|
buildInputs = [ libffi llvm ];
|
|
|
|
LLVM_SYS_120_PREFIX = "${llvm.dev}";
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"inkwell-0.1.0" = "sha256-+ih3SO0n6YmZ/mcf+rLDwPAy/1MEZ/A+tI4pM1pUhvU=";
|
|
};
|
|
};
|
|
}
|