First commit

This commit is contained in:
2026-01-23 19:56:39 +01:00
commit 34fa55d157
3 changed files with 99 additions and 0 deletions

37
flake.nix Normal file
View File

@@ -0,0 +1,37 @@
{
description = "The server backend for the sheetless music reader.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
go
gopls
go-tools
];
};
# packages.default = pkgs.buildGoModule {
# pname = "sheetless-server";
# version = "0.1.0";
# src = ./.;
# vendorHash = ""; # Will be computed on first build
# };
}
);
}