!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

125 Members
24 Servers

Load older messages


SenderMessageTime
21 Oct 2024
@corngood:corngood.comCorngoodYou'd need to build it using unity. If they don't already have a build script (I couldn't find one), it should be pretty straightforward to write. I would start by following their GUI instructions using a version of unity packaged in nixpkgs. It will likely require a pretty specific version.11:36:44
@ners:nixos.devners left the room.13:08:53
23 Oct 2024
@luna-null:matrix.orgluna-null changed their display name from Autumn to luna-null.09:49:17
25 Oct 2024
@lholh:matrix.orglholh joined the room.03:54:30
@lholh:matrix.orglholh left the room.22:42:02
26 Oct 2024
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenský joined the room.10:20:03
29 Oct 2024
@samuel:mnzn.devSamuel joined the room.03:18:37
1 Nov 2024
@samuel:mnzn.devSamuel set a profile picture.21:25:10
@samuel:mnzn.devSamuel changed their display name from Samuel to Samuel (DrRed).21:41:32
@samuel:mnzn.devSamuel changed their display name from Samuel (DrRed) to Samuel.21:42:27
12 Nov 2024
@vengmark2:matrix.orgl0b0I don't know Unity, though. I might just ask upstream if they can provide the script.03:05:09
@vengmark2:matrix.orgl0b0Also, I've no idea whether it's reasonable to actually use Unity (a closed source product) to build Daggerfall Unity (an open source package).03:05:43
@corngood:corngood.comCorngood

Looks like unity was removed from nixpkgs a couple of years ago: https://github.com/NixOS/nixpkgs/pull/177918

unityhub still exists, but that wouldn't be useful for building projects in the sandbox.

13:52:10
13 Nov 2024
@pyrox:pyrox.devdish [Fox/It/She] joined the room.03:10:06
@pyrox:pyrox.devdish [Fox/It/She]howdy y'all, was wondering if there's a way to build an app that targets .net framework 4.8 in nixos03:10:54
@pyrox:pyrox.devdish [Fox/It/She]* howdy y'all, was wondering if there's a way to build an app that targets .net framework 4.8 in nixpkgs03:11:03
@pyrox:pyrox.devdish [Fox/It/She]I'm trying to add https://github.com/ijwu/enemizer as part of03:11:26
@pyrox:pyrox.devdish [Fox/It/She]https://github.com/nixos/nixpkgs/pull/35556303:11:39
@pyrox:pyrox.devdish [Fox/It/She]and there's a bunch of different .net version deps, several rely on .net framework 4.8, one relies on .net6.0, and one relies on "netstandard2.0" according to its .csproj file03:12:32
@pyrox:pyrox.devdish [Fox/It/She]I've had no luck with using buildDotnetModule so far.03:13:44
@corngood:corngood.comCorngoodIs there a project file you can use instead of the sln? Publishing an sln often causes problems. Also can you share what happens when you run `fetch-deps`? Feel free to @ me on the PR if you'd rather discuss there.04:00:36
@pyrox:pyrox.devdish [Fox/It/She]
In reply to@corngood:corngood.com
Is there a project file you can use instead of the sln? Publishing an sln often causes problems. Also can you share what happens when you run `fetch-deps`? Feel free to @ me on the PR if you'd rather discuss there.
fetch-deps is fine, and I've tried the project file of the specific part I need, though it fails trying to find the core library that's in the same repo
04:09:36
@pyrox:pyrox.devdish [Fox/It/She] I'll ping you on the PR, the build command(with flakes and nix-command enabled) is nix build github:pyrox0/nixpkgs/archipelago-from-source#enemizer 04:10:19
@pyrox:pyrox.devdish [Fox/It/She]note that the specific package isn't the focus of the PR, but is one component of it.04:11:22
@corngood:corngood.comCorngood

Ah, I see. fetch-deps works because it's only restoring the SDK-style projects: Enemizer.CLI.Core.csproj and EnemizerLibrary.csproj.

Do you actually need the whole solution, or can you get away with just building one or both of those projects?

Alternatively you might be able to build it as-is using mono/xbuild. The only thing I see in nixpkgs using xbuild is keepass.

13:27:33
@corngood:corngood.comCorngoodConverting the other projects to dotnet-sdk style is probably the best option long-term.13:28:42
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @corngood:corngood.com

Ah, I see. fetch-deps works because it's only restoring the SDK-style projects: Enemizer.CLI.Core.csproj and EnemizerLibrary.csproj.

Do you actually need the whole solution, or can you get away with just building one or both of those projects?

Alternatively you might be able to build it as-is using mono/xbuild. The only thing I see in nixpkgs using xbuild is keepass.

I believe I only need library and core, the two you mentioned. would I just do library as its own derivation and then cli.core as the main derivation?
17:43:43
@pyrox:pyrox.devdish [Fox/It/She]with it inheriting the library project through the dependency field or whatever its called(i cant remember the name otoh but its in the dotnet language section)17:44:19
@corngood:corngood.comCorngood I think you'd only need one derivation, just set projectFile to Enemizer/EnemizerCLI.Core/EnemizerCLI.Core.csproj, since it depends on the other csproj. 18:13:22
@corngood:corngood.comCorngood I'm not sure if that project supports packing to nuget packages? If so you might want to set packNupkg. It depends on what's consuming it. 18:14:17

Show newer messages


Back to Room ListRoom Version: 9