Nix-ld: Difference between revisions

Nix-ld: Add a few important libraries.
Imurx (talk | contribs)
updated x packages to their new names
 
Line 35: Line 35:
     enable = true;
     enable = true;
     libraries = with pkgs; [
     libraries = with pkgs; [
      # List by default
        # List by default
       zlib
       zlib
       zstd
       zstd
Line 50: Line 50:
       xz
       xz
       systemd
       systemd
     
 
       # My own additions
       # My own additions
       xorg.libXcomposite
       libxcomposite
       xorg.libXtst
       libxtst
       xorg.libXrandr
       libxrandr
       xorg.libXext
       libxext
       xorg.libX11
       libx11
       xorg.libXfixes
       libxfixes
       libGL
       libGL
       libva
       libva
       pipewire
       pipewire
       xorg.libxcb
       libxcb
       xorg.libXdamage
       libxdamage
       xorg.libxshmfence
       libxshmfence
       xorg.libXxf86vm
       libxxf86vm
       libelf
       libelf


Line 73: Line 73:
       # Inspired by steam
       # Inspired by steam
       # https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/steam/package.nix#L36-L85
       # https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/steam/package.nix#L36-L85
       networkmanager    
       networkmanager
       vulkan-loader
       vulkan-loader
       libgbm
       libgbm
Line 82: Line 82:
       zenity
       zenity
       # glibc_multi.bin # Seems to cause issue in ARM
       # glibc_multi.bin # Seems to cause issue in ARM
     
 
       # # Without these it silently fails
       # # Without these it silently fails
       xorg.libXinerama
       libxinerama
       xorg.libXcursor
       libxcursor
       xorg.libXrender
       libxrender
       xorg.libXScrnSaver
       libxscrnsaver
       xorg.libXi
       libxi
       xorg.libSM
       libSM
       xorg.libICE
       libICE
       gnome2.GConf
       gnome2.GConf
       nspr
       nspr
Line 102: Line 102:
       # Only libraries are needed from those two
       # Only libraries are needed from those two
       libudev0-shim
       libudev0-shim
     
 
       # needed to run unity
       # needed to run unity
       gtk3
       gtk3
Line 114: Line 114:
       # export XDG_DATA_DIRS=/nix/store/0nfsywbk0qml4faa7sk3sdfmbd85b7ra-gsettings-desktop-schemas-43.0/share/gsettings-schemas/gsettings-desktop-schemas-43.0:/nix/store/rkscn1raa3x850zq7jp9q3j5ghcf6zi2-gtk+3-3.24.35/share/gsettings-schemas/gtk+3-3.24.35/:$XDG_DATA_DIRS
       # export XDG_DATA_DIRS=/nix/store/0nfsywbk0qml4faa7sk3sdfmbd85b7ra-gsettings-desktop-schemas-43.0/share/gsettings-schemas/gsettings-desktop-schemas-43.0:/nix/store/rkscn1raa3x850zq7jp9q3j5ghcf6zi2-gtk+3-3.24.35/share/gsettings-schemas/gtk+3-3.24.35/:$XDG_DATA_DIRS
       # other issue: (Unity:377230): GLib-GIO-CRITICAL **: 21:09:04.706: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
       # other issue: (Unity:377230): GLib-GIO-CRITICAL **: 21:09:04.706: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
     
 
       # Verified games requirements
       # Verified games requirements
       xorg.libXt
       libxt
       xorg.libXmu
       libxmu
       libogg
       libogg
       libvorbis
       libvorbis
       SDL
       SDL
       SDL2_image
       SDL2_image
       glew110
       glew_1_10
       libidn
       libidn
       tbb
       tbb
     
 
       # Other things from runtime
       # Other things from runtime
       flac
       flac
Line 151: Line 151:
       libvpx
       libvpx
       librsvg
       librsvg
       xorg.libXft
       libxft
       libvdpau
       libvdpau
       # ...
       # ...