initial commit

This commit is contained in:
Sebastian Hugentobler 2025-07-01 08:55:08 +02:00
commit 0bd97d0ed3
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M
25 changed files with 6581 additions and 0 deletions

38
flake.nix Normal file
View file

@ -0,0 +1,38 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
fenix.url = "github:nix-community/fenix";
};
outputs =
{
nixpkgs,
fenix,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
fx = fenix.packages.${system};
rust = fx.combine [
(fx.fromToolchainFile {
file = ./rust-toolchain.toml;
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU=";
})
];
buildInputs = [
rust
pkgs.cargo-deny
pkgs.sqlx-cli
];
in
{
devShells.default = pkgs.mkShell {
buildInputs = buildInputs;
};
}
);
}