diff --git a/pkgs/games/starsector/default.nix b/pkgs/games/starsector/default.nix index 2d70022049e1b..4ccf6578d6e90 100644 --- a/pkgs/games/starsector/default.nix +++ b/pkgs/games/starsector/default.nix @@ -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"