about summary refs log tree commit diff
path: root/users/wpcarro/tools/simple_vim/default.nix
{ 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 ];
}