blob: 7ed13b1530451e2911cb4378c2bd40b310a01298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ config, pkgs, ... }:
{
programs.bash.enable = true;
programs.fish.enable = true;
programs.zsh.enable = true;
test = ''
echo checking setEnvironment in /etc/bashrc >&2
fgrep '. ${config.system.build.setEnvironment}' ${config.out}/etc/bashrc
echo checking setEnvironment in /etc/fish/nixos-env-preinit.fish >&2
grep 'fenv source ${config.system.build.setEnvironment}' ${config.out}/etc/fish/nixos-env-preinit.fish
echo checking setEnvironment in /etc/zshenv >&2
fgrep '. ${config.system.build.setEnvironment}' ${config.out}/etc/zshenv
'';
}
|