Unverified Commit b304e919 authored by Mitchell Skaggs's avatar Mitchell Skaggs
Browse files

waylandpp: don't wrap `env.FONTCONFIG_FILE` string in list



fixes `error: The `env` attribute set can only contain derivation, string, boolean or integer attributes. The `FONTCONFIG_FILE` attribute is of type list.`

Co-authored-by: default avatarjopejoe1 <jopejoe1@missing.ninja>
parent 0ecc8b01
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -34,9 +34,11 @@ stdenv.mkDerivation (finalAttrs: {
  ];

  # Complains about not being able to find the fontconfig config file otherwise
  env.FONTCONFIG_FILE = lib.optional docSupport (makeFontsConf {
  env = lib.optionalAttrs docSupport {
    FONTCONFIG_FILE = makeFontsConf {
      fontDirectories = [ ];
  });
    };
  };

  nativeBuildInputs = [
    cmake