Talk:Environment variables: Difference between revisions

From NixOS Wiki
imported>MikiVanousek
Posted a question
 
imported>MikiVanousek
No edit summary
 
Line 1: Line 1:
I have the following in my configuration:
I have the following in my configuration:
```
 
environment.variables = rec {
    environment.variables = rec {
     EDITOR = "nvim";
     EDITOR = "nvim";
     VISUAL = "nvim";
     VISUAL = "nvim";
Line 9: Line 9:
     XDG_STATE_HOME = "$HOME/.local/share";
     XDG_STATE_HOME = "$HOME/.local/share";
     ANDROID_SDK_ROOT = "\${XDG_DATA_HOME}/android";
     ANDROID_SDK_ROOT = "\${XDG_DATA_HOME}/android";
  };
    };
```
 
What is then `ANDROID_SDK_ROOT` after rebuild? `/android`  
What is then `ANDROID_SDK_ROOT` after rebuild? `/android`  
Do you have any idea, why this might be?
Do you have any idea, why this might be?

Latest revision as of 21:07, 17 March 2022

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?