Change:
<ins> { lib , writeScriptBin , bash , stdenv , fetchFromGitHub , fpc , lazarus-qt , qt5 , libX11 , libqt5pas , coreutils , git , gnugrep , libnotify , mesa-demos , polkit , procps , systemd , vulkan-tools , which }: let # Finds data files using the XDG Base Directory Specification # See https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html find-xdg-data-files = writeScriptBin "find-xdg-data-files" '' #!${bash}/bin/sh IFS=: for xdg_data_dir in ''${XDG_DATA_HOME:-$HOME/.local/share}:''${XDG_DATA_DIRS:-/usr/local/share:/usr/share}; do if [ -f "$xdg_data_dir/$1" ]; then echo "$xdg_data_dir/$1" fi done ''; in stdenv.mkDerivation rec { pname = "goverlay"; version = "0.5.1"; src = fetchFromGitHub { owner = "benjamimgois"; repo = pname; rev = version; hash = "sha256-Zl1pq2MeGJsPdNlwUEpov5MHlsr9pSMkWHVprt8ImKs="; }; outputs = [ "out" "man" ]; patches = [ # Find MangoHud & vkBasalt Vulkan layers using the XDG Base Directory Specification ./find-xdg-data-files.patch ]; postPatch = '' substituteInPlace Makefile  --replace 'prefix = /usr/local' "prefix = $out" substituteInPlace overlayunit.pas  --replace '/usr/share/icons/hicolor/128x128/apps/goverlay.png' "$out/share/icons/hicolor/128x128/apps/goverlay.png" ''; nativeBuildInputs = [ fpc lazarus-qt qt5.wrapQtAppsHook ]; buildInputs = [ libX11 libqt5pas ]; NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}"; buildPhase = '' runHook preBuild HOME=$(mktemp -d) lazbuild --lazarusdir=${lazarus-qt}/share/lazarus -B goverlay.lpi runHook postBuild ''; qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ bash coreutils find-xdg-data-files git gnugrep libnotify mesa-demos polkit procps systemd vulkan-tools which ]}" # Force xcb since libqt5pas doesn't support Wayland # See https://github.com/benjamimgois/goverlay/issues/107 "--set QT_QPA_PLATFORM xcb" ]; meta = with lib; { description = "An opensource project that aims to create a Graphical UI to help manage Linux overlays"; homepage = "https://github.com/benjamimgois/goverlay"; license = licenses.gpl3Plus; maintainers = with maintainers; [ kira-bruneau ]; platforms = platforms.linux; }; } </ins>

Discussion:
Project description GOverlay is a GUI to manage graphical overlays such as vkBasalt and MangoHud. Metadata homepage URL: source URL: license: gpl3 platforms: linux
I have GOverlay packaged in my , but I don't think it would make sense to submit a pull request until and are in nixpkgs.
I appreciate it a lot. Unfortunately, I left NixOS and switched to Fedora due to having so many issues with gaming, Lutris, GNOME, etc. I'm still looking forward to this. Thank you so much
Aww that's frustrating, NixOS can definitely be a pain some times, but I find it worth it. Hopefully we will see you back again when things are better. I'm not a huge gamer, but I've managed to deal with all the issues I've had so far with gaming and I would be willing to help if you started trying it out again.
I'm planning to join back anyway sooner or later. I love , and Flatpak has helped a LOT. The only the problem currently is that there's no official Lutris Flatpak, so I can't really play any games from Lutris since the official package in nixpkgs was quite broken
The only issue I had with Lutris was that it crashed when the file dialog was opened, but that was fixed in Did you have any other problems?
Lutris was just not launching games, but I will try it someday, once I have the time for that. I just realized that I could've and should've created an issue when I had this problem
I marked this as stale due to inactivity. &rarr;
Up!