about summary refs log tree commit diff
path: root/tools/simple_vim/default.nix
blob: 7132a649232da15e77726555a98e2e92096271d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ pkgs, ... }:

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