chore: Add nix build files

This commit is contained in:
Arne Dußin 2024-08-22 12:48:30 +02:00
commit 45c3e91560
4 changed files with 121 additions and 0 deletions

17
derivation.nix Normal file
View file

@ -0,0 +1,17 @@
{
lib,
pkgs,
rustPlatform,
name,
}:
(rustPlatform.buildRustPackage {
inherit name;
nativeBuildInputs = with pkgs; [
];
src = lib.cleanSource ./.;
cargoLock = {
lockFile = ./Cargo.lock;
};
})