Merging from trunk, partially, to get rid of the annoying failing commits from

svn when files were removed, recreated and whatever...
 svn merge -r 18479:18485 ^/nixpkgs/trunk



svn path=/nixpkgs/branches/stdenv-updates/; revision=18659
This commit is contained in:
Lluís Batlle i Rossell
2009-11-26 21:34:53 +00:00
20 changed files with 58 additions and 505 deletions

View File

@@ -1,4 +1,6 @@
{pkgs, ctags, writeScriptBin, lib, makeOverridable}:
{ pkgs, ctags, writeScriptBin }:
with pkgs.stdenv.lib;
# define some ctags wrappers adding support for some not that common languages
# customization:
@@ -13,9 +15,9 @@
# the derivation. use language extensions specified by args
ctagsWrapped = makeOverridable ( {args, name} : pkgs.writeScriptBin name ''
#!/bin/sh
exec ${pkgs.ctags}/bin/ctags ${lib.concatStringsSep " " (map lib.escapeShellArg args)} "$@"
exec ${pkgs.ctags}/bin/ctags ${concatStringsSep " " (map escapeShellArg args)} "$@"
'') {
args = let x = pkgs.ctagsWrapped; in lib.concatLists [
args = let x = pkgs.ctagsWrapped; in concatLists [
x.defaultArgs x.phpLang x.jsLang x.nixLang x.asLang x.rubyLang
];
name = "${ctags.name}-wrapped";