vimHugeX: also add wrapper for system-wide vimrc

This commit is contained in:
Ricardo M. Correia
2014-03-10 23:40:59 +01:00
parent 0b66e7f5be
commit 05a2b88df7
2 changed files with 12 additions and 6 deletions
+4 -2
View File
@@ -2,10 +2,12 @@
let
vimrcfile = writeText "vimrc" (if vimrc == null then "" else vimrc);
vimrcfile = writeText "vimrc" vimrc;
p = builtins.parseDrvName vim.name;
in stdenv.mkDerivation rec {
name = "vimwrapper-${vim.version}";
name = "${p.name}-with-vimrc-${p.version}";
buildInputs = [ makeWrapper vim vimrcfile ];