!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

118 Members
23 Servers

Load older messages


SenderMessageTime
7 Nov 2023
@magikarpz:matrix.org@magikarpz:matrix.org Emma [it/its] ⚡️: looks good. do you have any scripts that generate those files? 14:57:34
@magikarpz:matrix.org@magikarpz:matrix.orgyou could probably throw this up into a draft PR into nixpkgs14:57:44
@magikarpz:matrix.org@magikarpz:matrix.orguntil then, we could probably implement https://github.com/dotnet/installer/issues/12104 to make workload installations work on nixos14:58:17
14 Nov 2023
@emma:conduit.rory.gayEmma [it/its] ⚡️
In reply to @magikarpz:matrix.org
Emma [it/its] ⚡️: looks good. do you have any scripts that generate those files?
yeah its generated by a quick and dirty program written in C#
17:08:44
@emma:conduit.rory.gayEmma [it/its] ⚡️sorry for the 7 day delay on responding, homeserver doesnt like marking rooms as unread 😅17:09:00
@magikarpz:matrix.org@magikarpz:matrix.orgcool, no problem21:03:34
@magikarpz:matrix.org@magikarpz:matrix.orgi’ll be waiting for a PR to nixpkgs then!21:03:46
15 Nov 2023
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.15:54:59
@grahamc:nixos.org@grahamc:nixos.org left the room.15:54:59
@qyliss:fairydust.space@qyliss:fairydust.space joined the room.17:25:22
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:32
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:33
16 Nov 2023
@qyliss:fairydust.space@qyliss:fairydust.space left the room.10:39:14
19 Nov 2023
@zxgu:matrix.orgZXGU joined the room.10:59:22
29 Nov 2023
@emma:conduit.rory.gayEmma [it/its] ⚡️kinda concerning that there's no moderators in any of these rooms11:57:25
5 Dec 2023
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.00:39:00
6 Dec 2023
@hbakardzhiev:matrix.org@hbakardzhiev:matrix.org joined the room.09:19:09
29 Dec 2023
@dearrude:nitro.chat@dearrude:nitro.chat left the room.14:50:23
31 Dec 2023
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.18:15:20
4 Jan 2024
@thetootler:matrix.orgthetootler joined the room.06:26:11
22 Jan 2024
@samasaur:matrix.orgsamasaur joined the room.06:11:27
@samasaur:matrix.orgsamasaur hey! i'm trying to package https://github.com/hargata/lubelog for Nix. I managed to get it building and running (https://github.com/Samasaur1/lubelog), but it seems to be looking for the webroot relative to the runtime directory, not the location of the executable, so it only actually works properly if you run it from inside the project directory. I have no dotnet experience at all, so I'm hoping there's a simple fix that someone can point me to? 06:17:30
@samasaur:matrix.orgsamasaur I considered trying to patch it and use UseWebRoot to point it to the Nix store, but I couldn't get that to work either 06:18:25
@raphi:tapesoftware.netraphi
In reply to @samasaur:matrix.org
hey! i'm trying to package https://github.com/hargata/lubelog for Nix. I managed to get it building and running (https://github.com/Samasaur1/lubelog), but it seems to be looking for the webroot relative to the runtime directory, not the location of the executable, so it only actually works properly if you run it from inside the project directory. I have no dotnet experience at all, so I'm hoping there's a simple fix that someone can point me to?

try this in your default.nix:

makeWrapperArgs = [
  "--set DOTNET_CONTENTROOT ${placeholder "out"}/lib/lubelog"
];
07:43:05
@samasaur:matrix.orgsamasaurthat did it! thanks so much!08:03:39
@raphi:tapesoftware.netraphithis should at least be documented in the dotnet section of the manual maybe even add it to makeWrapperArgs by default (environment variables get inherited to child processes which makes me not want to do this)08:05:34
@magikarpz:matrix.org@magikarpz:matrix.orgi’m not sure about making this the default, but it could for sure be added in the docs in something like a “common issues” section13:16:10
27 Jan 2024
@zumorica:matrix.org@zumorica:matrix.org joined the room.15:10:20
28 Jan 2024
@remcoschrijver:tchncs.deRemco Schrijver joined the room.22:51:24
31 Jan 2024
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.03:36:48

Show newer messages


Back to Room ListRoom Version: 9