mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 03:59:46 +01:00
069d450b6d
Adds a module for pyenv (https://github.com/pyenv/pyenv).
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)"'
|
|
'';
|
|
}
|