Commit 4e7fb0c2 authored by lily!!'s avatar lily!!
Browse files

portablemc: don't grab linux deps on non-linux

fixes build for x86_64-darwin and aarch64-darwin
parent 4585b48c
Loading
Loading
Loading
Loading
+20 −15
Original line number Diff line number Diff line
@@ -23,7 +23,15 @@

let
  # Copied from the `prismlauncher` package
  runtimeLibs = [
  runtimeLibs =
    [
      # lwjgl
      libGL
      glfw
      openal
      (lib.getLib stdenv.cc.cc)
    ]
    ++ lib.optionals stdenv.hostPlatform.isLinux [
      libX11
      libXext
      libXcursor
@@ -32,14 +40,11 @@ let

      # lwjgl
      libpulseaudio
    libGL
    glfw
    openal
    (lib.getLib stdenv.cc.cc)

      # oshi
      udev
  ] ++ lib.optional textToSpeechSupport flite;
    ]
    ++ lib.optional textToSpeechSupport flite;
in
python3Packages.buildPythonApplication rec {
  pname = "portablemc";