!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

122 Members
24 Servers

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


SenderMessageTime
10 Jan 2025
@6pak:matrix.org6pakbut it feels like the outputs thing was literally designed for this17:09:16
@corngood:corngood.comCorngood I pasted the nuspec above to show the dependencies. If they were all separate, you'd have to do buildInputs = [ avalonia avalonia-remote-protocol ], etc. 17:09:52
@corngood:corngood.comCorngoodUnless we teach the builder to understand those dependencies and propagate them.17:10:13
@6pak:matrix.org6pakcan't you just use propagatedBuildInputs?17:10:28
@corngood:corngood.comCorngood

yeah, but you need to get the dependencies from the nuspec:

      <group targetFramework="net6.0">
        <dependency id="Avalonia.Remote.Protocol" version="11.0.11" exclude="Build,Analyzers" />
17:10:56
@corngood:corngood.comCorngoodand they depend on target frameworks, etc17:11:12
@6pak:matrix.org6pakyou could get it at avalonia's fetch-deps stage17:11:28
@6pak:matrix.org6paknuget restore includes figuring out projectreferences metadata17:11:44
@corngood:corngood.comCorngoodit's the output of avalonia, so I think you'd have to do it in the dependent project's fetch phase?17:11:59

Show newer messages


Back to Room ListRoom Version: 9