Added Firefox-3b2 (still no idea why it crashes, though), fixed updated FUSE, made relfs_grant add user if none exists
svn path=/nixpkgs/trunk/; revision=9967
This commit is contained in:
27
pkgs/data/fonts/fontWrap/default.nix
Normal file
27
pkgs/data/fonts/fontWrap/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
args : with args;
|
||||
with builderDefs {
|
||||
src =""; /* put a fetchurl here */
|
||||
buildInputs = [mkfontdir mkfontscale];
|
||||
configureFlags = [];
|
||||
} null; /* null is a terminator for sumArgs */
|
||||
let
|
||||
doInstall = FullDepEntry ("
|
||||
ensureDir \$out/share/fonts/
|
||||
cd \$out/share/fonts
|
||||
for i in ${toString paths}; do
|
||||
find \$i -type f -exec ln -s '{}' . ';' ;
|
||||
done
|
||||
mkfontdir
|
||||
mkfontscale
|
||||
") [minInit addInputs defEnsureDir] ;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wrapped-font-dir";
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure [ doInstall doForceShare doPropagate]);
|
||||
meta = {
|
||||
description = "
|
||||
Just a wrapper to create fots.dir and fonts.scale .
|
||||
";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user