mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +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
|
||
|
'';
|
||
|
};
|
||
|
}
|