corefonts: fix build with structuredAttrs (#470415)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user