1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/modules/programs
Robert Helgesson 162a65f029
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

(cherry picked from commit b6e613c771)
2019-05-01 18:24:02 +02:00
..
command-not-found command-not-found: add module 2017-09-27 09:49:32 +02:00
afew.nix afew: add module 2018-11-18 23:47:45 +01:00
alacritty.nix alacritty: add module 2019-04-22 14:43:43 +02:00
alot-accounts.nix alot: fix address book completion regex 2019-04-10 23:55:07 +02:00
alot.nix email: add facility for email aliases 2019-04-12 21:26:46 +02:00
astroid-accounts.nix astroid: add module 2018-11-18 19:55:28 +01:00
astroid-config-template.json astroid: add module 2018-11-18 19:55:28 +01:00
astroid.nix astroid: require notmuch synchronize flags 2018-11-25 13:53:45 +01:00
autorandr.nix autorandr: remove unnecessary method attribute 2019-02-17 23:06:39 +01:00
bash.nix Fix type of various sessionVariables options 2019-05-01 18:24:02 +02:00
bat.nix bat: add module 2019-03-19 23:58:12 +01:00
beets.nix beets: add enable option 2018-12-04 23:03:23 +01:00
browserpass.nix browserpass: update app id 2019-04-14 11:40:37 +02:00
chromium.nix chromium: parseDrvName quick fix 2018-08-22 23:13:54 +02:00
direnv.nix Use preferLocalBuild with runCommand 2018-11-14 20:59:45 +01:00
eclipse.nix eclipse: add option enableLombok 2018-01-09 22:03:13 +01:00
emacs.nix emacs: add service module 2019-02-09 15:28:11 +01:00
feh.nix feh: use attrsOf instead of attrs 2019-04-03 00:09:55 +02:00
firefox.nix firefox: make the extensions option visible 2019-03-20 23:41:02 +01:00
fish.nix fish: use global for abbr 2019-01-23 21:19:23 +01:00
fzf.nix fzf: only enable when line editing is available 2018-10-30 00:17:09 +01:00
git.nix git: make userName and userEmail options optional 2019-03-17 20:46:00 +01:00
gnome-terminal.nix gnome-terminal: add cursor and highlight color settings 2019-03-31 14:24:31 +02:00
go.nix go: Fix package example 2018-09-21 09:46:11 +02:00
home-manager.nix home-manager: use callPackage where appropriate 2019-04-06 18:48:29 +02:00
htop.nix use xdg.configFile for files in XDG config home 2017-10-29 01:59:34 +02:00
info.nix Parametrize path to profile directory 2018-07-31 16:04:19 +02:00
irssi.nix irssi: add module 2019-01-29 00:53:39 +01:00
jq.nix jq: add module 2018-12-12 22:02:51 +01:00
keychain.nix keychain: add module 2019-02-17 22:07:24 +01:00
lesspipe.nix Mark rycee as maintainer for a bunch of modules 2017-09-26 23:40:31 +02:00
lsd.nix lsd: add module 2019-03-20 00:07:49 +01:00
man.nix man: install man, not man-db 2017-10-18 00:33:31 +02:00
matplotlib.nix matplotlib: add module 2019-01-18 01:23:36 +01:00
mbsync-accounts.nix mbsync: add option to add extra account configuration 2018-10-03 13:35:04 -05:00
mbsync.nix mbsync: add basic test of result configuration 2019-01-31 02:08:40 +01:00
mercurial.nix mercurial: add module 2018-02-02 20:52:54 +01:00
msmtp-accounts.nix msmtp: use <parameter> for CLI options in description 2019-02-17 23:25:42 +01:00
msmtp.nix msmtp: use XDG config directory 2019-02-11 01:06:28 +01:00
neovim.nix neovim: allow to override package 2019-02-04 21:52:01 +01:00
newsboat.nix newsboat: switch from types.string to types.str 2018-12-04 23:42:30 +01:00
noti.nix noti: add module 2018-09-20 21:26:55 +02:00
notmuch-accounts.nix Use submodules for program email accounts 2018-08-16 21:37:42 +02:00
notmuch.nix email: add facility for email aliases 2019-04-12 21:26:46 +02:00
obs-studio.nix Use preferLocalBuild with runCommand 2018-11-14 20:59:45 +01:00
offlineimap-accounts.nix offlineimap: add an extraConfig for the account section 2018-11-19 23:57:58 +01:00
offlineimap.nix offlineimap: add an extraConfig for the account section 2018-11-19 23:57:58 +01:00
opam.nix opam: add module 2018-12-28 13:33:13 +01:00
pidgin.nix pidgin: add module 2018-02-19 22:57:50 +01:00
rofi.nix rofi: switch from types.string to types.str 2018-12-04 23:43:12 +01:00
skim.nix skim: add module 2019-04-14 17:36:27 +02:00
ssh.nix ssh: support multiple identity files in a match block 2019-03-19 22:35:13 +01:00
taskwarrior.nix taskwarrior: add module 2018-09-18 23:31:37 +02:00
termite.nix termite: setup the shell hook 2018-11-26 21:28:06 +01:00
texlive.nix texlive: always require at least one extra package 2019-01-09 02:09:23 +01:00
tmux.nix programs.tmux: implement secureSocket 2019-04-04 17:14:29 -07:00
urxvt.nix urxvt: add module 2018-10-20 11:35:39 +02:00
vim.nix vim: remove deprecated options 2018-10-20 13:13:19 +02:00
vscode.nix vscode: add module 2018-11-26 00:01:01 +01:00
zathura.nix Correct spelling mistakes 2018-10-02 22:41:08 +02:00
zsh.nix Fix type of various sessionVariables options 2019-05-01 18:24:02 +02:00