Merge pull request #279063 from rafaelrc7/starsector-fix

starsector: add missing runtime dependency xrandr
This commit is contained in:
a-n-n-a-l-e-e 2024-01-18 14:49:10 -08:00 committed by GitHub
commit 11a146b96c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
ln -s $out/graphics/ui/s_icon64.png $out/share/icons/hicolor/64x64/apps/starsector.png
wrapProgram $out/share/starsector/starsector.sh \
--prefix PATH : ${lib.makeBinPath [ openjdk ]} \
--prefix PATH : ${lib.makeBinPath [ openjdk xorg.xrandr ]} \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs} \
--run 'mkdir -p ''${XDG_DATA_HOME:-~/.local/share}/starsector' \
--chdir "$out/share/starsector"
@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
homepage = "https://fractalsoftworks.com";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.unfree;
maintainers = with maintainers; [ bbigras ];
maintainers = with maintainers; [ bbigras rafaelrc ];
};
passthru.updateScript = writeScript "starsector-update-script" ''