summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-11-27 09:25:36 -0800
committerBen Sima <ben@bsima.me>2018-11-27 09:25:54 -0800
commitd629301f9d9e99828d36e96d195e66d178c5dfb9 (patch)
tree38619e5c54a60dfb7fe9664cc011b770c1bc2f3a
parent13479fdc5a63c8fc34303e746ac0e35276a671ee (diff)
Fix path on macOS
-rw-r--r--darwin.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/darwin.nix b/darwin.nix
index 516d8e1..2e00fe2 100644
--- a/darwin.nix
+++ b/darwin.nix
@@ -1,5 +1,9 @@
{ pkgs, ... }:
+let
+ homedir = builtins.getEnv "HOME";
+in
{
imports = [ ./common.nix ];
+ home.sessionVariables.PATH = "/usr/local/opt/mysql@5.7/bin:${homedir}/bin:${homedir}/.cabal/bin:${homedir}/.local/bin:$PATH";
}