This commit is contained in:
Robin Appelman 2024-08-10 13:23:57 +02:00
commit db2f6d81b5
4 changed files with 100 additions and 12 deletions

View file

@ -1,22 +1,15 @@
{
stdenv,
makeRustPlatform,
rust-bin,
rustPlatform,
lib,
extracted-logs-rust,
}: let
inherit (lib.sources) sourceByRegex;
src = sourceByRegex ../. ["Cargo.*" "(src)(/.*)?"];
rustPlatform = makeRustPlatform {
cargo = rust-bin.stable.latest.default;
rustc = rust-bin.stable.latest.default;
};
in
rustPlatform.buildRustPackage rec {
pname = "logsmash";
pname = "evtype";
version = "0.1.0";
inherit src;
src = sourceByRegex ../. ["Cargo.*" "(src)(/.*)?"];
cargoLock = {
lockFile = ../Cargo.lock;