pyenv: add module
Adds a module for pyenv (https://github.com/pyenv/pyenv).
This commit is contained in:
parent
050d01a62c
commit
069d450b6d
8 changed files with 144 additions and 0 deletions
17
tests/modules/programs/pyenv/fish.nix
Normal file
17
tests/modules/programs/pyenv/fish.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
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'
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue