13 lines
358 B
Nix
13 lines
358 B
Nix
{ toolchain, makeRustPlatform, lib, nix-gitignore, libffi, libgcc }:
|
|
|
|
let rustPlatform = makeRustPlatform { inherit (toolchain) cargo rustc; };
|
|
|
|
in rustPlatform.buildRustPackage {
|
|
name = "e0";
|
|
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
|
|
|
|
nativeBuildInputs = [ ];
|
|
buildInputs = [ libffi ];
|
|
|
|
cargoLock = { lockFile = ./Cargo.lock; };
|
|
}
|