summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorColin Barrett <colin@springsandstruts.com>2017-10-15 23:42:37 -0400
committerColin Barrett <colin@springsandstruts.com>2017-10-15 23:42:37 -0400
commita0691118731514078c5f64386f887dca01717fa3 (patch)
tree2e2bcf8a0a08509250461354d98efa968e002e67 /modules/programs
parent1dd1f60f90036af82dfced50b85478b713ab7432 (diff)
Set PATH since that's not being done by setEnvironment
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/fish.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/programs/fish.nix b/modules/programs/fish.nix
index 7fa5a4f..6ee5355 100644
--- a/modules/programs/fish.nix
+++ b/modules/programs/fish.nix
@@ -109,6 +109,7 @@ in
set fish_function_path ${pkgs.fish-foreign-env}/share/fish-foreign-env/functions $__fish_datadir/functions
# source the NixOS environment config
+ fenv export PATH=${config.environment.systemPath}
fenv source ${config.system.build.setEnvironment}
# clear fish_function_path so that it will be correctly set when we return to $__fish_datadir/config.fish