From 735d0f558eee978b80de86db4a4699a4aa334b25 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 13 Dec 2025 12:38:30 +0100 Subject: [PATCH] corefonts: fix build with structuredAttrs --- pkgs/by-name/co/corefonts/package.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/co/corefonts/package.nix b/pkgs/by-name/co/corefonts/package.nix index 73bfae46c007..bf7dc985b2c4 100644 --- a/pkgs/by-name/co/corefonts/package.nix +++ b/pkgs/by-name/co/corefonts/package.nix @@ -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";