From 5d64fec19aed0b87bba2174232ae6bd72a00a8ca Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 25 Oct 2017 18:01:23 +0200 Subject: [PATCH] home-environment: run activation script in $HOME This avoids issues when starting the activation script somewhere inaccessible. --- modules/home-environment.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 892c20cc..2c33ba47 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -271,6 +271,8 @@ in set -eu set -o pipefail + cd $HOME + export PATH="${activationBinPaths}:$PATH" . ${./lib-bash/color-echo.sh}