Talk:Environment variables

From NixOS Wiki
Revision as of 21:06, 17 March 2022 by imported>MikiVanousek (Posted a question)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I have the following in my configuration: ``` environment.variables = rec {

   EDITOR = "nvim";
   VISUAL = "nvim";
   XDG_DATA_HOME = "\${HOME}/.local/share";
   XDG_CONFIG_HOME = "$HOME/.config";
   XDG_CACHE_HOME = "$HOME/.cashe";
   XDG_STATE_HOME = "$HOME/.local/share";
   ANDROID_SDK_ROOT = "\${XDG_DATA_HOME}/android";
 };

``` What is then `ANDROID_SDK_ROOT` after rebuild? `/android` Do you have any idea, why this might be?