mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
18 lines
324 B
Nix
18 lines
324 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
programs = {
|
||
|
fish.enable = true;
|
||
|
pyenv.enable = true;
|
||
|
};
|
||
|
|
||
|
test.stubs.pyenv = { name = "pyenv"; };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.config/fish/config.fish
|
||
|
assertFileContains \
|
||
|
home-files/.config/fish/config.fish \
|
||
|
'@pyenv@/bin/pyenv init - fish | source'
|
||
|
'';
|
||
|
}
|