about summary refs log blame commit diff
path: root/users/wpcarro/tools/simple_vim/default.nix
blob: f8f965f2c0249f2bfd645866622f5538563f2bae (plain) (tree)
1
2
3
4
5
6
7
8
9
              

   




                             
                                                   
                                       




                             
{ pkgs, ... }:

let
  configVim = builtins.path {
    path = ./config.vim;
    name = "config.vim";
  };

  script = pkgs.writeShellScriptBin "simple_vim" ''
    ${pkgs.vim}/bin/vim -u ${configVim}
  '';
in pkgs.stdenv.mkDerivation {
  name = "simple_vim";
  buildInputs = [ script ];
}