Commit cfb5aba5 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

aligator: silence MPL warnings

parent 2bb7f46e
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -80,8 +80,13 @@ stdenv.mkDerivation (finalAttrs: {
  # Fontconfig error: Cannot load default config file: No such file: (null)
  env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";

  preBuild = ''
    # silence matplotlib warning
    export MPLCONFIGDIR=$(mktemp -d)

    # Fontconfig error: No writable cache directories
  preBuild = "export XDG_CACHE_HOME=$(mktemp -d)";
    export XDG_CACHE_HOME=$(mktemp -d)
  '';

  doCheck = true;
  pythonImportsCheck = [ "aligator" ];