Files
sheetless-server/flake.nix

35 lines
783 B
Nix

{
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 = {
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 = ./src;
vendorHash = "sha256-NnHo1wcsX0aCBpay8eEyjmtO7+Qe8gcBPITobP7WtkA=";
};
}
);
}