75fa0ae5af
GitOrigin-RevId: c3ab5ea047e6dc73df530948f7367455749d8906
17 lines
291 B
Nix
17 lines
291 B
Nix
{ ... }:
|
|
|
|
{
|
|
programs = {
|
|
bash.enable = true;
|
|
pyenv.enable = true;
|
|
};
|
|
|
|
test.stubs.pyenv = { name = "pyenv"; };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.bashrc
|
|
assertFileContains \
|
|
home-files/.bashrc \
|
|
'eval "$(@pyenv@/bin/pyenv init - bash)"'
|
|
'';
|
|
}
|