tests: fix zsh-session-variables test

This commit is contained in:
Thiago Kenji Okada 2025-10-01 15:46:49 +01:00 committed by Austin Horstman
parent 5a21f4819e
commit 6b1b122c1b
2 changed files with 3 additions and 3 deletions

View file

@ -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}
'';
}

View file

@ -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