refactor: modify into client server model

This commit is contained in:
2026-05-20 12:08:12 -04:00
parent 0b677fd991
commit 3e6426c655
9 changed files with 59 additions and 7 deletions
+4 -4
View File
@@ -25,9 +25,9 @@
packages.default = pkgs.buildDotnetModule {
pname = "dotnet-systemd";
version = "0.1.0";
src = ./DotnetSystemd;
src = ./Server;
nugetDeps = ./DotnetSystemd/deps.json;
nugetDeps = ./Server/deps.json;
dotnet-sdk = pkgs.dotnet-sdk_10;
dotnet-runtime = dotnetRuntime;
@@ -42,8 +42,8 @@
mkdir -p $out/bin
cp -r bin/Release/net10.0/* $out/bin/
makeWrapper ${dotnetRuntime}/bin/dotnet $out/bin/dotnet-systemd \
--add-flags "exec $out/bin/dotnet-systemd.dll" \
makeWrapper ${dotnetRuntime}/bin/dotnet $out/bin/Server \
--add-flags "exec $out/bin/Server.dll" \
--prefix LD_LIBRARY_PATH : "${
pkgs.lib.makeLibraryPath [
pkgs.stdenv.cc.cc.lib