mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
bash: source session variable file directly
This commit is contained in:
parent
d398f95f1e
commit
142acd7a7d
2 changed files with 3 additions and 3 deletions
|
|
@ -14,9 +14,9 @@
|
|||
nmt.script = ''
|
||||
assertFileExists home-files/.profile
|
||||
assertFileContent \
|
||||
home-files/.profile \
|
||||
"$(normalizeStorePaths home-files/.profile)" \
|
||||
${builtins.toFile "session-variables-expected" ''
|
||||
. "/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"
|
||||
|
||||
export V1="v1"
|
||||
export V2="v2-v1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue