home-manager/tests/modules/programs
Robert Helgesson b6e613c771
Fix type of various sessionVariables options
Unfortunately, using `attrsOf` is not possible since it results in too
eager evaluation. In particular, the

    home.sessionVariables = {
      FOO = "Hello";
      BAR = "${config.home.sessionVariables.FOO} World!";
    };

example will cause an infinite recursion.

This commit restores the option type of

- `home.sessionVariables`,
- `pam.sessionVariables`,
- `programs.bash.sessionVariables`, and
- `programs.zsh.sessionVariables`

to `attrs`. It also adds test cases for the above options to avoid
regressions.

Fixes #659
2019-04-27 01:07:09 +02:00
..
bash Fix type of various sessionVariables options 2019-04-27 01:07:09 +02:00
ssh ssh: add some basic tests 2019-03-19 23:00:17 +01:00
tmux programs.tmux: implement secureSocket 2019-04-04 17:14:29 -07:00
zsh Fix type of various sessionVariables options 2019-04-27 01:07:09 +02:00
git-expected.conf git: allow contents in git.includes 2019-02-17 22:28:15 +01:00
git-with-email-expected.conf git: quote sendemail section header 2019-01-29 18:28:55 +01:00
git-with-email.nix git: quote sendemail section header 2019-01-29 18:28:55 +01:00
git-with-str-extra-config-expected.conf tests: add initial test framework 2018-12-11 00:57:58 +01:00
git-with-str-extra-config.nix tests: add initial test framework 2018-12-11 00:57:58 +01:00
git.nix git: allow contents in git.includes 2019-02-17 22:28:15 +01:00
mbsync-expected.conf mbsync: add basic test of result configuration 2019-01-31 02:08:40 +01:00
mbsync.nix mbsync: add basic test of result configuration 2019-01-31 02:08:40 +01:00
texlive-minimal.nix texlive: always require at least one extra package 2019-01-09 02:09:23 +01:00