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:     copyDesktopItems
    '' + ''
      for binary in $out/bin/xonotic-*; do
        wrapProgram $binary --add-flags "-basedir ${xonotic-data}"
      done
    '');
  }
  
negative.code: 
      dontStrip = target != "release";
  
      postConfigure = ''
        pushd ../d0_blind_id
        ./configure $configureFlags
        popd
      '';
  
      buildPhase = (lib.optionalString withDedicated ''
        make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES sv-${target}
      '' + lib.optionalString withGLX ''
        make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES cl-${target}
      '' + lib.optionalString withSDL ''
        make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES sdl-${target}
      '') + ''
        pushd ../d0_blind_id
        make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES
        popd
      '';
  
      enableParallelBuilding = true;
  
      installPhase = (''
        for size in 16x16 24x24 32x32 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512 1024x1024 scalable; do
          install -Dm644 ../../misc/logos/xonotic_icon.svg \
            $out/share/icons/hicolor/$size/xonotic.svg
  