mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
16 lines
271 B
Nix
16 lines
271 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
};
|
|
|
|
build.extraPassthru.tests = {
|
|
runWithNeovim = let
|
|
wrapper = config.build.toplevel;
|
|
in pkgs.runCommand ''
|
|
[ -x ${lib.getExe' wrapper "nvim"} ] && touch $out
|
|
'';
|
|
};
|
|
}
|