feat: add proper nix flake

This commit is contained in:
2026-04-13 16:48:38 -04:00
parent 9a362630a2
commit a614bb02f6
16 changed files with 294 additions and 155 deletions

22
default.nix Normal file
View File

@@ -0,0 +1,22 @@
{
lib,
pkgs,
rust,
self,
}:
pkgs.rustPlatform.buildRustPackage {
pname = "errornowatcher";
version = self.shortRev or self.dirtyShortRev;
cargoLock.lockFile = ./Cargo.lock;
src = lib.cleanSource ./.;
nativeBuildInputs = with pkgs; [
pkg-config
rust
];
buildInputs = with pkgs; [
luajit
];
}