I’m generating ISO images with preinstalled GNOME, nvidia and steam to play on a computer (more detail in this blog article), but the resulting nix store contains several packages like
i686-w64-mingw32-stage-final-gcc-debug-10.3.0
i686-w64-mingw32-stage-static-gcc-debug-10.3.0
They are huge and I don’t think I need them in my livecd. They are also present in my NixOS installation as well,
Having these packages takes more time to generate the ISO, creates a bigger ISO which takes more time to write on the USB disk, and uses more memory to fully load the ISO in RAM when booted.
Edit 1:
Using nix-store -q --tree /nix/var/nix/profiles/system it seems these packages are installed as a requirement for wine-wow, so I don’t think anything can be done, but I’m curious of it’s really useful for wine runtime.
Thank you very much, I searched in the code but forgot to look at the PRs.
In my case I’d like lutris package to use wine without mingwSupport, I tried this but it fails with an error, I can’t figure out the syntax, despite some information in this old thread.
and when building I have the following error which is not very helpful
error: anonymous function at /nix/store/fj7xz1cv9c8nrvdyd6bxhwq3l55k47xc-source/pkgs/applications/misc/lutris/fhsenv.nix:1:1 called with unexpected argument 'wine'
at /nix/store/fj7xz1cv9c8nrvdyd6bxhwq3l55k47xc-source/lib/customisation.nix:69:16:
68| let
69| result = f origArgs;
| ^
70|