corefonts: fix build with structuredAttrs (#470415)

This commit is contained in:
Wolfgang Walther
2025-12-14 15:20:19 +00:00
committed by GitHub
+11 -7
View File
@@ -66,13 +66,15 @@ stdenv.mkDerivation {
pname = "corefonts";
version = "1";
exes = map (
{ name, hash }:
fetchurl {
url = "mirror://sourceforge/corefonts/the%20fonts/final/${name}32.exe";
inherit hash;
}
) fonts;
env.exes = toString (
map (
{ name, hash }:
fetchurl {
url = "mirror://sourceforge/corefonts/the%20fonts/final/${name}32.exe";
inherit hash;
}
) fonts
);
nativeBuildInputs = [ cabextract ];
@@ -137,6 +139,8 @@ stdenv.mkDerivation {
done
'';
__structuredAttrs = true;
meta = {
homepage = "https://corefonts.sourceforge.net/";
description = "Microsoft's TrueType core fonts for the Web";