Hello,
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.
Edit 2:
In wine definition nixpkgs/base.nix at 41c91c48eee8801b91eb6c18ef763b11dc059047 · NixOS/nixpkgs · GitHub mingw compiler is in nativeBuildInputs, I don’t understand why it gets installed with wine.