diff --git a/pkgs/applications/science/chemistry/avogadro/default.nix b/pkgs/applications/science/chemistry/avogadro/default.nix index 78cda9d115ce..a569b82ff59d 100644 --- a/pkgs/applications/science/chemistry/avogadro/default.nix +++ b/pkgs/applications/science/chemistry/avogadro/default.nix @@ -14,6 +14,13 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = "-include ${libGLU_combined}/include/GL/glu.h"; + patches = [ + (fetchurl { + url = https://data.gpo.zugaina.org/fusion809/sci-chemistry/avogadro/files/avogadro-1.1.0-xlibs.patch; + sha256 = "1p113v19z3zwr9gxj2k599f8p97a8rwm93pa4amqvd0snn31mw0k"; + }) + ]; + meta = { description = "Molecule editor and visualizer"; maintainers = [ ];