diff options
Diffstat (limited to 'pkgs/data/fonts/wqy_zenhei/0.4.23-1.nix')
-rw-r--r-- | pkgs/data/fonts/wqy_zenhei/0.4.23-1.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/data/fonts/wqy_zenhei/0.4.23-1.nix b/pkgs/data/fonts/wqy_zenhei/0.4.23-1.nix index c5aa6f40d403..15a7edd6535a 100644 --- a/pkgs/data/fonts/wqy_zenhei/0.4.23-1.nix +++ b/pkgs/data/fonts/wqy_zenhei/0.4.23-1.nix @@ -1,5 +1,5 @@ -args : with args; with builderDefs {src="";} null; - let localDefs = builderDefs (rec { +args : with args; with builderDefs; + let localDefs = builderDefs.meta.function (rec { src = /* put a fetchurl here */ fetchurl { url = http://prdownloads.sourceforge.net/wqy/wqy-zenhei-0.4.23-1.tar.gz; @@ -12,7 +12,7 @@ args : with args; with builderDefs {src="";} null; ensureDir $out/share/fonts cp *.ttf $out/share/fonts '') ["minInit" "addInputs" "doUnpack" "defEnsureDir"]; - }) null; /* null is a terminator for sumArgs */ + }); in with localDefs; stdenv.mkDerivation rec { name = "wqy-zenhei-"+version; |