mirror of
https://codeberg.org/icewind/evtype.git
synced 2026-06-03 09:34:11 +02:00
update
This commit is contained in:
parent
74f3929d37
commit
637c58e0a0
11 changed files with 648 additions and 391 deletions
3
nix/overlay.nix
Normal file
3
nix/overlay.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
final: prev: {
|
||||
evtype = final.callPackage ./package.nix {};
|
||||
}
|
||||
24
nix/package.nix
Normal file
24
nix/package.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
stdenv,
|
||||
makeRustPlatform,
|
||||
rust-bin,
|
||||
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";
|
||||
version = "0.1.0";
|
||||
|
||||
inherit src;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ../Cargo.lock;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue