!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

118 Members
23 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
14 Aug 2025
@corngood:corngood.comCorngoodI hope maintenance would be on the order of the number of new solution file extensions they add, and we'd still need to check if they're building a solution, so it would only slightly simplify the logic20:25:07
@gggkiller:matrix.orgGGG that's because you're including the deps.json into your project, you should exclude it from the projects by editing the .csproj or by filtering them out of src 20:25:35
@oatmealraisin:matrix.orgoatmealraisin *

let
  Application = import ../Application { pkgs = pkgs; };
  DataMatrixGenerator = import ../../utils/DataMatrixGenerator { pkgs = pkgs; };
  Infrastrcture = import ../Infrastructure { pkgs = pkgs; };
  WebUI = import ../WebUI { pkgs = pkgs; };
in
pkgs.buildDotnetModule {
  pname = "API.csproj";
  version = "0.1";

  src = ../..;

  projectFile = "src/API/API.csproj";

  buildInputs = [
    Application
    DataMatrixGenerator
    Infrastrcture
    WebUI
  ];

  dotnetPackFlags = [ "-p:RuntimeIdentifier=linux-x64" ];
  nugetDeps = ./deps.json;
  packNupkg = false;
}
20:25:36

Show newer messages


Back to Room ListRoom Version: 9