tvl-depot/tools/simple_vim/default.nix

16 lines
287 B
Nix
Raw Normal View History

{ 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 ];
}