| 9 Apr 2024 |
| hexa joined the room. | 08:12:59 |
| admin (Moderation Team) set the room name to "Nix + dotnet". | 08:14:05 |
| Room Avatar Renderer. | 08:14:34 |
| admin (Moderation Team) left the room. | 08:18:48 |
| hexa left the room. | 08:19:03 |
| 13 Apr 2024 |
| real_z2 joined the room. | 16:03:53 |
| Elijah Immer joined the room. | 19:32:01 |
Elijah Immer | I've been trying to package this dotnet program https://github.com/bcssov/IronyModManager, and it has a private dependency I haven't been able to get to work. The link to the NuGet is https://github.com/bcssov/IronyModManager/files/7798143/CWTools.Irony-Private.0.4.0-alpha8.zip.
I cannot figure how how to get it to fetch the other deps, and let me manually specify this one.
The closest I got was adding replacing deps.nix with
(fetchNuGet {
pname = "CWTools.Irony-Private";
version = "0.4.0-alpha8";
url = "https://github.com/bcssov/IronyModManager/files/7798143/CWTools.Irony-Private.0.4.0-alpha8.zip";
sha256 = "sha256-HO+9XhH2EvoLz4XeII7NGPeCvcldPa6gOx9bfje4i+c="; })
but then it failed to even build the fetch-deps script, and I'm pretty sure that's not how it works.
I think all I need is to generate the other deps and have it ignore this one, but I'm not sure how to do that. Any ideas?
| 19:58:16 |
Elijah Immer | * I've been trying to package this dotnet program https://github.com/bcssov/IronyModManager, and it has a private dependency I haven't been able to get to work. The link to the NuGet is https://github.com/bcssov/IronyModManager/files/7798143/CWTools.Irony-Private.0.4.0-alpha8.zip.
I cannot figure how how to get it to fetch the other deps, and let me manually specify this one.
The closest I got was adding replacing deps.nix with
[(fetchNuGet {
pname = "CWTools.Irony-Private";
version = "0.4.0-alpha8";
url = "https://github.com/bcssov/IronyModManager/files/7798143/CWTools.Irony-Private.0.4.0-alpha8.zip";
sha256 = "sha256-HO+9XhH2EvoLz4XeII7NGPeCvcldPa6gOx9bfje4i+c="; })]
but then it failed to even build the fetch-deps script, and I'm pretty sure that's not how it works.
I think all I need is to generate the other deps and have it ignore this one, but I'm not sure how to do that. Any ideas?
| 19:59:06 |
| 15 Apr 2024 |
| l0b0 joined the room. | 10:54:22 |
l0b0 | Hi all, I could use some help getting this package to run the upstream tests. Basically, I don't know how I should map their tests to Nix. | 10:56:06 |
| 17 Apr 2024 |
| real_z2 changed their display name from alex3829 to real_z22. | 04:36:32 |
| real_z2 changed their display name from real_z22 to real_z2. | 05:34:02 |
| 26 Apr 2024 |
| Qyriad changed their display name from Qyriad to Qyriad (she/they). | 23:47:44 |
| Qyriad changed their display name from Qyriad (she/they) to Qyriad. | 23:47:57 |
| 27 Apr 2024 |
| Qyriad changed their display name from Qyriad to Qyriad . | 00:01:06 |
| Qyriad changed their display name from Qyriad to Qyriad. | 00:09:42 |
| 28 Apr 2024 |
| Remco Schrijver set a profile picture. | 09:10:11 |
| 29 Apr 2024 |
| NixOS Moderation Botchanged room power levels. | 15:29:00 |
| 1 May 2024 |
| NixOS Moderation Botchanged room power levels. | 15:06:43 |
| milly joined the room. | 20:34:03 |
milly | Hello, I'm a relatively new nix user, and I've found myself with the rather ambitious 'first' project of trying to get a server I rely on packaged within nix, after the janky docker setup I was using to run it decided to break. Using the buildDotnetModule documentation and modelling after other dotnet packages in nixpkgs, I've managed to make some progress, but when I try to build the derivation, I get this for output:
Running phase: unpackPhase
unpacking source archive /nix/store/qnbpclirrsglnhb0wmnbv7jpy3mn1q08-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Executing dotnetConfigureHook
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'tool' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
I assume I'm missing something, but no amount of clever googling has gotten me answers as to what a solution would be, and I'm a bit too ignorant of both dotnet's build ecosystem and nix itself to figure it out myself. Hopefully that all came formatted correctly.
| 20:56:06 |
milly | Can produce the .nix file's text on request too, naturally. | 20:57:05 |
Emma [it/its] | did you specify the right sdk? | 21:27:04 |
Emma [it/its] | keep in mind the package is dotnet-sdk not dotnet | 21:27:28 |
milly | I hope so.
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
| 21:44:34 |
| 2 May 2024 |
milly | Still working at this, even a day later. Assistance still welcome. | 20:49:09 |
| 3 May 2024 |
Emma [it/its] | dotnetCorePackages? | 17:20:31 |
Emma [it/its] | i usually just use pkgs.dotnet-sdk_8 | 17:21:05 |
| 4 May 2024 |
milly | I can change to that and see what happens | 13:56:42 |