Skip to content

Commit

Permalink
Merge pull request NixOS#278514 from zendo/upd/gitnuro
Browse files Browse the repository at this point in the history
gitnuro: add libGL
  • Loading branch information
pbsds authored May 31, 2024
2 parents fcfad39 + 7679eb4 commit eda06d1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/applications/version-management/gitnuro/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, copyDesktopItems
, makeDesktopItem
, jre
, libGL
}:

stdenv.mkDerivation rec {
Expand All @@ -30,8 +31,13 @@ stdenv.mkDerivation rec {

installPhase = ''
runHook preInstall
makeWrapper ${jre}/bin/java $out/bin/gitnuro --add-flags "-jar $src"
makeWrapper ${jre}/bin/java $out/bin/gitnuro \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}" \
--add-flags "-jar $src"
install -Dm444 $icon $out/share/icons/hicolor/scalable/apps/com.jetpackduba.Gitnuro.svg
runHook postInstall
'';

Expand All @@ -51,6 +57,7 @@ stdenv.mkDerivation rec {
homepage = "https://gitnuro.com/";
license = licenses.gpl3Plus;
platforms = [ "x86_64-linux" ];
sourceProvenance = with sourceTypes; [ binaryBytecode ];
maintainers = with maintainers; [ zendo ];
mainProgram = "gitnuro";
};
Expand Down

0 comments on commit eda06d1

Please sign in to comment.