!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

113 Members
23 Servers

Load older messages


SenderMessageTime
6 Nov 2025
@corngood:corngood.comCorngoodIs it something to do with the suffix on the version?02:49:07
7 Nov 2025
@emma:rory.gayEmma [it/its]it is yes00:13:37
@emma:rory.gayEmma [it/its] i narrowed it down to specifically being the +abcdefg at the end 00:13:52
@emma:rory.gayEmma [it/its] https://github.com/NuGet/Home/issues/14628 00:14:19
@emma:rory.gayEmma [it/its]raised an issue here, wonder if itll get any traction on it00:14:28
@emma:rory.gayEmma [it/its]hm, i seem to a bit stuck in package reference hell02:08:42
@emma:rory.gayEmma [it/its] im using a temporary hack to make my project build now, but now it fails when i try to use that as a dependency? 02:11:40
@emma:rory.gayEmma [it/its]oh now it doesnt build at all02:14:02
@emma:rory.gayEmma [it/its]ah, deps.json fuckery due to the same package existing on nuget.org... can i limit package references to a given source?02:16:08
@corngood:corngood.comCorngoodIf you pin the version of the dependency it should prefer the local /nix/store source.02:31:25
@emma:rory.gayEmma [it/its]im not sure how i would do that?02:35:47
@emma:rory.gayEmma [it/its]because the package version is defined by the flake input ^^'02:36:05
@corngood:corngood.comCorngoodYou'd have to use the exact version in the Package reference 02:36:33
@corngood:corngood.comCorngood* You'd have to use the exact version in the PackageReference 02:36:43
@corngood:corngood.comCorngoodPerhaps by setting a build var?02:37:23
@corngood:corngood.comCorngoodYou can also use https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping But it would have to use the dynamically added _nix source 02:38:33
@corngood:corngood.comCorngoodI was hoping to make avalonia an example of how to do this, by using it in other packages in nixpkgs instead of pulling from nuget.org, but I haven't had a chance to finish that work02:40:00
@emma:rory.gayEmma [it/its]im guessing theres no way to make the passthrough script prefer projectReferences sources?02:42:02
@emma:rory.gayEmma [it/its]* im guessing theres no way to make the passthrough script prefer projectReferences sources instead?02:42:05
@emma:rory.gayEmma [it/its]the irony is that the fetch-deps script picks... a version that's unlisted :')02:43:22
@emma:rory.gayEmma [it/its]clipboard.png
Download clipboard.png
02:44:09
@corngood:corngood.comCorngoodIt should prefer them but only if they have the version it's looking for 02:44:12
@emma:rory.gayEmma [it/its]this is the version the fetch-deps script gives me, fwiw02:44:33
@emma:rory.gayEmma [it/its] (that entire version range was deprecated in favor of 1.0.0-preview.yyyyMMdd-hhmmss+gitrev7 02:45:08
@corngood:corngood.comCorngoodDidn't the other one you mentioned have a ~ in it?02:45:23
@emma:rory.gayEmma [it/its] * (that entire version range was deprecated in favor of 1.0.0-preview.yyyyMMdd-hhmmss+gitrev7 rather than using github build id) 02:45:23
@emma:rory.gayEmma [it/its]it didnt02:45:32
@emma:rory.gayEmma [it/its]clipboard.png
Download clipboard.png
02:45:57
@emma:rory.gayEmma [it/its]but seems that the nuget web ui agrees here that it's actually nix at fault here?02:47:10
@emma:rory.gayEmma [it/its] notably: the URL to that page is https://www.nuget.org/packages/ArcaneLibs/1.0.0-preview.20251104-015635/ (missing the +6fd695c) 02:47:40

Show newer messages


Back to Room ListRoom Version: 9