first commit

This commit is contained in:
2025-11-09 01:06:25 +02:00
commit dbaa2feb48
28 changed files with 1551 additions and 0 deletions

31
flake.nix Normal file
View File

@@ -0,0 +1,31 @@
{
description = "stdsrv Flake file";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utlis.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
flake-utlis,
}:
flake-utlis.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {inherit system;};
stdsrv = import ./package.nix {inherit pkgs;};
in {
packages.default = stdsrv;
devShells.default = pkgs.mkShell {
packages = [
pkgs.rustup
pkgs.bacon
pkgs.cargo-nextest
pkgs.cargo-expand
pkgs.cargo-watch
];
};
}
);
}