anchor.diff:      };
   
       nativeBuildInputs = [ unzip ];
  -    buildInputs = [ libjpeg zlib libvorbis curl ]
  +    buildInputs = [ libjpeg zlib libvorbis curl gmp ]
         ++ lib.optional withGLX [ libX11.dev libGLU.dev libGL.dev libXpm.dev libXext.dev libXxf86vm.dev alsa-lib.dev ]
         ++ lib.optional withSDL [ SDL2.dev ];
   
  
positive.code:       install -Dm755 darkplaces-glx "$out/bin/xonotic-glx"
      '' + lib.optionalString withSDL ''
        install -Dm755 darkplaces-sdl "$out/bin/xonotic-sdl"
      '';
  
      # Xonotic needs to find libcurl.so at runtime for map downloads
  
negative.code:     copyDesktopItems
    '' + ''
      for binary in $out/bin/xonotic-*; do
        wrapProgram $binary --add-flags "-basedir ${xonotic-data}" --prefix LD_LIBRARY_PATH : "${xonotic-unwrapped}/lib"
      done
    '');
  }
  