diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2007-12-25 12:29:02 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2007-12-25 12:29:02 +0000 |
commit | a7fada56488fafcc337b957e73f3ff6b1b2b1cc9 (patch) | |
tree | 2cf992ecf6e9db9684bcbd85710851dbdc5ac921 /pkgs/data | |
parent | 07eedae576e3b668afce445a6e48d54d0f4387e0 (diff) | |
download | nixlib-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar nixlib-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.gz nixlib-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.bz2 nixlib-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.lz nixlib-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.xz nixlib-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.zst nixlib-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.zip |
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
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/fontWrap/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/fontWrap/default.nix b/pkgs/data/fonts/fontWrap/default.nix new file mode 100644 index 000000000000..ef370be8e356 --- /dev/null +++ b/pkgs/data/fonts/fontWrap/default.nix @@ -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 . +"; + }; +} |