!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

126 Members
24 Servers

Load older messages


SenderMessageTime
23 Jan 2025
@gggkiller:matrix.orgGGG.NET Framework 4.8 goes quite fast20:40:35
@6pak:matrix.org6pakdoes it not need to install all the earlier versions anymore?20:40:54
@gggkiller:matrix.orgGGGThe .NET Framework 4.7.2 one is really slow because it installs 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 and 4.7.220:41:07
@gggkiller:matrix.orgGGGBut .NET Framework 4.8 seems to only install itself20:41:27
@gggkiller:matrix.orgGGG
In reply to @6pak:matrix.org
you've got DNSPY_HOME there
Yeah, forgot to change that one
20:41:40
@gggkiller:matrix.orgGGGBut I don't have any choice really, it needs all of that (I think, got tired of waiting for setup to see if it works without component A, B or C)20:42:22
@6pak:matrix.org6pakwould be nice to replace winetricks with nix20:44:34
@gggkiller:matrix.orgGGGDon't think it's possible really 20:46:46
@gggkiller:matrix.orgGGGThe installers need to actually run20:46:59
@gggkiller:matrix.orgGGGAnd registry keys and wine parameters need to be set20:47:16
@gggkiller:matrix.orgGGGMight be possible by messing with wine internals but I honestly cannot be bothered20:47:38
@6pak:matrix.org6pakit's only files and registry changes20:47:40
@gggkiller:matrix.orgGGG* Might be possible by messing with wine commands but I honestly cannot be bothered20:47:49
@6pak:matrix.org6pakso you can just save those in a nix package20:48:26
@6pak:matrix.org6pakand then combine those as a nix wine prefix ala nixos system path20:48:43
@gggkiller:matrix.orgGGGI don't think I will, sounds like too much work to just avoid a one time setup 20:49:10
@6pak:matrix.org6pakbut you would need to mess around with some kind of system for overlaying files and registry, sure20:49:22
@gggkiller:matrix.orgGGGAnd I don't plan to upstream this to nixpkgs anyways, so I'll just pick the lazy route20:49:47
@6pak:matrix.org6pakyeah but winetricks is so slow20:50:36
@6pak:matrix.org6pakand the stuff it copies to the prefix takes so much space20:50:46
@gggkiller:matrix.orgGGGIt's only as slow as the installers themselves imo20:51:22
@gggkiller:matrix.orgGGGMost of the time was spent on them in this case20:51:38
@6pak:matrix.org6pak have you ever ran winetricks corefonts 20:53:33
@6pak:matrix.org6pakor read winetricks source code20:54:01
@gggkiller:matrix.orgGGGNope20:54:20
@gggkiller:matrix.orgGGGJust speaking from the output I saw20:54:29
@gggkiller:matrix.orgGGGI assume the one logging files being copied were the installers running under wine 20:54:58
@6pak:matrix.org6pak

btw before I got wine workarounds upstreamed into dnspy I had this in the wrapper script

    if [ ! -d "$WINEPREFIX" ]; then
      mkdir -p "$WINEPREFIX"
      ${lib.getExe' wine "wineboot"} -u
    fi

    if ! grep -qw "corefonts" "$WINEPREFIX/winetricks.log" 2>/dev/null; then
      ${lib.getExe' winetricks "winetricks"} corefonts
    fi

    # Disable hardware acceleration in WPF (Avalon) because it's causing visual glitches
    if ! grep -q '"DisableHWAcceleration"=dword:00000001' "$WINEPREFIX/user.reg" 2>/dev/null; then
      "$WINE" reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f
    fi
20:59:36
@6pak:matrix.org6pakto avoid running wineboot/winetricks/winereg every launch20:59:50
@6pak:matrix.org6pakwhich took quite some time20:59:57

Show newer messages


Back to Room ListRoom Version: 9