diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-05-31 20:05:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 20:05:03 +0200 |
commit | eda06d1214c818fc6e50bb85ecba896c69807c7c (patch) | |
tree | 80aa5bbcbd713b85e16a2db2f0a82ac1bf00715e /pkgs/applications/version-management | |
parent | fcfad390d0d6eb9ce59ed65b9159215bcd347451 (diff) | |
parent | 7679eb41cdbe715dc4a09185bcb280b9e195f899 (diff) |
Merge pull request #278514 from zendo/upd/gitnuro
gitnuro: add libGL
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/gitnuro/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/gitnuro/default.nix b/pkgs/applications/version-management/gitnuro/default.nix index d59287db4bb95..39579b9b7348e 100644 --- a/pkgs/applications/version-management/gitnuro/default.nix +++ b/pkgs/applications/version-management/gitnuro/default.nix @@ -5,6 +5,7 @@ , copyDesktopItems , makeDesktopItem , jre +, libGL }: stdenv.mkDerivation rec { @@ -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 ''; @@ -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"; }; |