mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 02:27:44 +00:00
nushell: set variablesMap properly
This commit is contained in:
parent
f03a18219e
commit
4a90dba591
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ in {
|
||||||
|
|
||||||
homeVariablesExtra = pkgs.runCommand "home-variables-extra.env" {} ''
|
homeVariablesExtra = pkgs.runCommand "home-variables-extra.env" {} ''
|
||||||
bash -ic '
|
bash -ic '
|
||||||
|
${variablesMap
|
||||||
|
|> mapAttrsToList (name: value: "export ${name}='${value}'")
|
||||||
|
|> concatStringsSep "\n"}
|
||||||
|
|
||||||
alias export=echo
|
alias export=echo
|
||||||
source ${config'.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh
|
source ${config'.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh
|
||||||
' > $out
|
' > $out
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue