!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

124 Members
24 Servers

Load older messages


SenderMessageTime
17 Apr 2024
@alex3829:matrix.orgreal_z2 changed their display name from alex3829 to real_z22.04:36:32
@alex3829:matrix.orgreal_z2 changed their display name from real_z22 to real_z2.05:34:02
26 Apr 2024
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad (she/they).23:47:44
@qyriad:katesiria.orgQyriad changed their display name from Qyriad (she/they) to Qyriad.23:47:57
27 Apr 2024
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad .00:01:06
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad.00:09:42
28 Apr 2024
@remcoschrijver:tchncs.deRemco Schrijver set a profile picture.09:10:11
29 Apr 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:29:00
1 May 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:06:43
@milly:g33k.semilly joined the room.20:34:03
@milly:g33k.semilly

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:g33k.semillyCan produce the .nix file's text on request too, naturally.20:57:05
@emma:rory.gayEmma [it/its]did you specify the right sdk?21:27:04
@emma:rory.gayEmma [it/its] keep in mind the package is dotnet-sdk not dotnet 21:27:28
@milly:g33k.semilly

I hope so.

  dotnet-sdk = dotnetCorePackages.sdk_8_0;
  dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
21:44:34
2 May 2024
@milly:g33k.semillyStill working at this, even a day later. Assistance still welcome.20:49:09
3 May 2024
@emma:rory.gayEmma [it/its]dotnetCorePackages?17:20:31
@emma:rory.gayEmma [it/its]i usually just use pkgs.dotnet-sdk_817:21:05
4 May 2024
@milly:g33k.semillyI can change to that and see what happens13:56:42
@milly:g33k.semillyThrows the same error in the end, unfortunately14:02:36
@milly:g33k.semillyAppreciate the suggestion, though, even if I'm a few hours late receiving it.14:06:06
14 May 2024
@purepani:matrix.orgpurepani joined the room.02:20:55
22 May 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:25:53
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:28:08
27 May 2024
@purepani:matrix.orgpurepani

Hey; i've been trying to make a dev environment for jellyfin, and I can't seem to do so(for jellyfin or anything else).
I seem to be running into an error where dotnet cant find the service index:

Unable to load the service index for source https://api.nuget.org/v3/index.json

I have tried to just copy the jellyfin derivation files in nixpkgs, only changing the source to be the current folder, and it seems to still be happening. Is there anything else I need to be doing to set this up?

00:57:37
@purepani:matrix.orgpurepani

Running the fetch-deps attribute gets me this for all of the deps:

 Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/seriloganalyzer/index.json'.
  Request headers must contain only ASCII characters.

01:31:31
@purepani:matrix.orgpurepani I'm also unable to run dotnet restore --packages out if I'm in a devshell with dotnet for the same service index error. 01:33:44
30 May 2024
@daniel:nopemail.orgdanielI'm experiencing the same issue for other projects, seems to be a regression.11:33:54
@daniel:nopemail.orgdaniel * I'm experiencing the same issue for other projects, seems to be a regression. purepani 11:34:24
@daniel:nopemail.orgdaniel * I'm experiencing the same issue in general, seems to be a regression. purepani 11:34:37

Show newer messages


Back to Room ListRoom Version: 9