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









                                                   
{ pkgs ? import <nixpkgs> {}, ... }:

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