Advertisement
Guest User

Could Not find OpenGL

a guest
Mar 7th, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | Source Code | 0 0
  1. { pkgs ? import <nixpkgs> {}, command }:
  2.  
  3. (pkgs.buildFHSUserEnv {
  4. name = "qt6-dev";
  5. targetPkgs = pkgs: (with pkgs;
  6. [
  7. cacert
  8. alsa-lib
  9. libdrm
  10. libpulseaudio
  11. udev
  12. which
  13. libglvnd.dev
  14. libxkbcommon.dev
  15. nss
  16. libevdev
  17. nspr
  18. expat
  19. fontconfig
  20. bzip2
  21. dbus
  22. zlib
  23. glib
  24. lzma
  25. freetype
  26. libkrb5
  27. gdb
  28. pkg-config
  29. gcc
  30. bintools
  31. git
  32. ccache
  33. clang-tools_16
  34. xcb-util-cursor # libxcb-cursor.so.0
  35. zstd # libzstd.so.1
  36. libsndfile
  37. openssl
  38. portmidi
  39. portaudio
  40. desktop-file-utils
  41. file
  42. pkg-config
  43. unzip
  44. p7zip
  45. curl
  46. libGL
  47. libjack2
  48. gnumake
  49. wget
  50. cups
  51. unixODBCDrivers.sqlite
  52. psqlodbc
  53. libpqxx
  54. vulkan-tools
  55. ffmpeg
  56. ocamlPackages.ffmpeg-avcodec
  57. ocamlPackages.ffmpeg-swscale
  58. mesa
  59. zlib
  60. opencv
  61. # Any additional deps
  62. ]) ++ (with pkgs.xorg;
  63. [
  64. setxkbmap
  65. libX11.dev
  66. libXcursor
  67. libXrandr
  68. libXext
  69. libxcb.dev
  70. xcbutilimage
  71. xcbutilkeysyms
  72. xcbutilrenderutil
  73. xcbutilwm
  74. libXinerama
  75. libXcomposite
  76. libXdamage
  77. libXtst
  78. libXi
  79. libXfixes
  80. libXrender
  81. libxshmfence
  82. libxkbfile
  83. xf86inputevdev
  84. ]);
  85. profile = ''
  86. unset QT_PLUGIN_PATH
  87. unset QTWEBKIT_PLUGIN_PATH
  88. unset QML2_IMPORT_PATH
  89. export QT_DEBUG_PLUGINS=1
  90. export QML_DISABLE_DISK_CACHE=1
  91. export QT_SCALE_FACTOR=2
  92. export PATH="$HOME/Qt/Tools/QtCreator/bin:$HOME/Qt:$PATH"
  93. '';
  94. runScript = command;
  95. }).env
  96.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement