tests: fix zsh-session-variables test
This commit is contained in:
parent
5a21f4819e
commit
6b1b122c1b
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
|
|
@ -13,6 +13,6 @@
|
|||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.zshenv
|
||||
assertFileContent home-files/.zshenv ${./session-variables.zshenv}
|
||||
assertFileContent $(normalizeStorePaths home-files/.zshenv) ${./session-variables.zshenv}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Environment variables
|
||||
. "/home/hm-user/.nix-profile/etc/profile.d/hm-session-vars.sh"
|
||||
. "/nix/store/00000000000000000000000000000000-hm-session-vars.sh/etc/profile.d/hm-session-vars.sh"
|
||||
|
||||
# Only source this once
|
||||
if [[ -z "$__HM_ZSH_SESS_VARS_SOURCED" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue