| 7 Nov 2025 |
Emma [it/its] | because the package version is defined by the flake input ^^' | 02:36:05 |
Corngood | You'd have to use the exact version in the Package reference | 02:36:33 |
Corngood | * You'd have to use the exact version in the PackageReference | 02:36:43 |
Corngood | Perhaps by setting a build var? | 02:37:23 |
Corngood | You 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 | I 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 work | 02:40:00 |
Emma [it/its] | im guessing theres no way to make the passthrough script prefer projectReferences sources? | 02:42:02 |
Emma [it/its] | * im guessing theres no way to make the passthrough script prefer projectReferences sources instead? | 02:42:05 |
Emma [it/its] | the irony is that the fetch-deps script picks... a version that's unlisted :') | 02:43:22 |
Emma [it/its] |  Download clipboard.png | 02:44:09 |
Corngood | It should prefer them but only if they have the version it's looking for | 02:44:12 |
Emma [it/its] | this is the version the fetch-deps script gives me, fwiw | 02:44:33 |
Emma [it/its] | (that entire version range was deprecated in favor of 1.0.0-preview.yyyyMMdd-hhmmss+gitrev7 | 02:45:08 |
Corngood | Didn't the other one you mentioned have a ~ in it? | 02:45:23 |
Emma [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 [it/its] | it didnt | 02:45:32 |
Emma [it/its] |  Download clipboard.png | 02:45:57 |
Emma [it/its] | but seems that the nuget web ui agrees here that it's actually nix at fault here? | 02:47:10 |
Emma [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 |
Corngood | If it's working, fetch-deps shouldn't add it at all. Have you tried setting the package and reference version both to just 1.0.0? | 02:55:35 |
Emma [it/its] | well the issue is that i want to publish the resulting files to nuget | 02:56:26 |
Emma [it/its] | i'd assume that if i made it 1.0.0, it wouldnt link up correctly in nuget, no? | 02:56:42 |
Emma [it/its] | why is dotnet-vmr so large 😔 | 03:10:19 |
Emma [it/its] |  Download clipboard.png | 03:10:34 |
Emma [it/its] | i made the mistake of purging my nix store | 03:10:46 |
Emma [it/its] | well there goes 6min45s of my life just waiting for dotnet-vmr to download | 03:12:07 |
Corngood | In reply to @emma:rory.gay i'd assume that if i made it 1.0.0, it wouldnt link up correctly in nuget, no? Yeah just trying to understand what's going on a bit better | 03:12:39 |
Emma [it/its] | fwiw my current (seemingly working) workaround is uh... | 03:13:04 |
Emma [it/its] | ArcaneLibs = arcanelibs.packages."${pkgs.stdenv.hostPlatform.system}".ArcaneLibs.overrideAttrs (old: {
__intentionallyOverridingVersion = true;
version = builtins.substring 0 29 old.version; # "1.0.0-preview-20251106-123456";
});
| 03:13:20 |
Corngood | And with that fetch-deps doesn't add anything? | 03:15:18 |