Package with nix

This commit is contained in:
Sven van Heugten 2026-01-10 19:07:16 +01:00
parent 1ad118c6d8
commit c5088ae218
5 changed files with 219 additions and 3 deletions

20
default.nix Normal file
View file

@ -0,0 +1,20 @@
{
buildDotnetModule,
dotnet-sdk_9,
dotnet-runtime_9,
}:
buildDotnetModule rec {
pname = "night-light";
version = "0.0.1";
src = ./.;
projectFile = "NightLight/NightLight.fsproj";
nugetDeps = ./deps.json;
dotnet-sdk = dotnet-sdk_9;
dotnet-runtime = dotnet-runtime_9;
executables = [ "NightLight" ];
}