let's continue the advent of code but in c# mf
This commit is contained in:
1 parent
5b4ced047b
commit
4fef30bfba
9 files changed
+364
-7
No files matched your search
+7
-7
@@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "Pre-built CPU-only OpenCV packages for Python. ";
|
||||
description = "Advent of Code solutions in C#";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
@@ -13,17 +13,17 @@
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
# to generate the deps.nix, first
|
||||
# to generate the deps.json, first
|
||||
# run `dotnet restore --packages out` which
|
||||
# will put all the dependencies in the "out" directory.
|
||||
# Second, run `nuget-to-nix out > deps.nix` to generate the
|
||||
# deps.nix
|
||||
# Second, run `nuget-to-json out > deps.json` to generate the
|
||||
# deps.json
|
||||
project = pkgs.buildDotnetModule {
|
||||
pname = "BazoukaPouf";
|
||||
pname = "adventOfCode";
|
||||
version = "0.1.0";
|
||||
src = ./.;
|
||||
nugetDeps = ./deps.nix;
|
||||
projectFile = "BazoukaPouf/BazoukaPouf.csproj";
|
||||
nugetDeps = ./deps.json;
|
||||
projectFile = "adventOfCode/adventOfCode.csproj";
|
||||
dotnetBuildFlags = [ "--no-self-contained" ];
|
||||
dotnet-sdk = pkgs.dotnetCorePackages.sdk_10_0;
|
||||
dotnet-runtime = pkgs.dotnetCorePackages.aspnetcore_10_0;
|
||||
|
||||
Reference in new issue
Block a user