{ pkgs, ... }: { # This thing allow you to run ELF (binary) files just like in other distros. # The only difference is that we need to specify their linking dependencies # bellow in `libraries` section. programs.nix-ld = { enable = true; package = pkgs.nix-ld; libraries = with pkgs; [ # Add any missing dynamic libraries for unpackaged programs here, NOT in environment.systemPackages. alsa-lib at-spi2-atk at-spi2-core atk cairo cups curl dbus expat fontconfig fontconfig freetype freetype fuse3 gdk-pixbuf glib gtk3 icu libGL libappindicator-gtk3 libdrm libglvnd libglvnd libnotify libpulseaudio libunwind libusb1 libuuid libxkbcommon libxml2 mesa nspr nss openssl pango pipewire sqlite stdenv.cc.cc systemd vulkan-loader xorg.libX11 xorg.libXScrnSaver xorg.libXcomposite xorg.libXcursor xorg.libXdamage xorg.libXext xorg.libXfixes xorg.libXi xorg.libXrandr xorg.libXrender xorg.libXtst xorg.libxcb xorg.libxkbfile xorg.libxshmfence zlib ]; }; }