about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-11-16 21:31:31 +0100
committerRory& <root@rory.gay>2025-11-16 21:31:31 +0100
commite44821699788100381b81a0d0b6403f7846a41b0 (patch)
treea21ac90702027b87a462511f3e119f92faf3825f /flake.nix
parentStateEvent -> MatrixEvent (diff)
downloadLibMatrix-master.tar.xz
nix: fix builds HEAD master
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix22
1 files changed, 16 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix

index 60dc085..3349b45 100644 --- a/flake.nix +++ b/flake.nix
@@ -27,9 +27,9 @@ nugetDeps ? null, projectReferences ? [ ], projectFile ? "${name}/${name}.csproj", - }: + }@args: pkgs.buildDotnetModule rec { - inherit projectReferences nugetDeps; + inherit projectReferences nugetDeps projectFile; pname = "${name}"; version = "1.0.0-" + rVersion; @@ -42,9 +42,6 @@ dotnet-sdk = pkgs.dotnet-sdk_10; dotnet-runtime = pkgs.dotnet-aspnetcore_10; src = ./.; - projectFile = [ - "${name}/${name}.csproj" - ]; packNupkg = true; meta = with pkgs.lib; { description = "Rory&::LibMatrix"; @@ -78,7 +75,7 @@ name = "LibMatrix.EventTypes"; projectReferences = [ ArcaneLibs - LibMatrix + # LibMatrix ]; }; LibMatrix-Federation = makeNupkg { @@ -89,6 +86,19 @@ LibMatrix ]; }; + LibMatrix-Bot-Utils = makeNupkg { + name = "LibMatrix.Utilities.Bot"; + nugetDeps = Utilities/LibMatrix.Utilities.Bot/deps.json; + projectFile = "Utilities/LibMatrix.Utilities.Bot/LibMatrix.Utilities.Bot.csproj"; + projectReferences = [ + ArcaneLibs + LibMatrix + ]; + }; }; + checks = pkgs.lib.attrsets.unionOfDisjoint { + # Actual checks + } self.packages; }; + }