To start developing with the nix development environment, run the following command:
nix develop
Alternatively, you can allow direnv to manage the environment for you:
direnv allow
To build the project, run the following command:
dotnet build
To build the nix package, run the following command:
nix build
To run the project, run the following command:
dotnet run --project src/LumeHub.Server
To run the nix package, run the following command:
cd src/LumeHub.Server
nix run
To run the tests, run the following command:
dotnet test
To run the nix tests, run the following command:
nix flake check
To update the nuget dependencies, needed for the nix package, run the following command:
nix build .#default.passthru.fetch-deps && ./result
And then copy the output to nix/deps.nix
.