Add nix files

* Build file
* Docker file
This commit is contained in:
Simon Goller 2024-05-09 07:18:35 +02:00
parent 8ea16624ad
commit 418a2944f7
2 changed files with 25 additions and 0 deletions

10
build.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs ? import <nixpkgs> {} }:
let
rustPlatform = pkgs.rustPlatform;
in
rustPlatform.buildRustPackage {
pname = "shifty-service";
version = "0.1";
src = ./.;
cargoHash = "sha256-bgtX30TGRlBjCZ8qbqNgovsZrZqJ9kEGlv/qv6T5uZA=";
}