feat(flake): migrate to crane

This commit is contained in:
2026-05-09 14:09:25 -04:00
parent e902db8b2c
commit ee653392e3
3 changed files with 65 additions and 44 deletions
+5 -9
View File
@@ -1,19 +1,15 @@
{
lib,
craneLib,
pkgs,
rust,
self,
}:
pkgs.rustPlatform.buildRustPackage {
craneLib.buildPackage {
pname = "errornowatcher";
version = self.shortRev or self.dirtyShortRev;
version = "0.2.0";
cargoLock.lockFile = ./Cargo.lock;
src = lib.cleanSource ./.;
src = craneLib.cleanCargoSource ./.;
nativeBuildInputs = with pkgs; [
rust
clang
mold
pkg-config
];