diff options
author | Ben Sima <ben@bsima.me> | 2018-11-27 09:25:36 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-11-27 09:25:54 -0800 |
commit | d629301f9d9e99828d36e96d195e66d178c5dfb9 (patch) | |
tree | 38619e5c54a60dfb7fe9664cc011b770c1bc2f3a | |
parent | 13479fdc5a63c8fc34303e746ac0e35276a671ee (diff) |
Fix path on macOS
-rw-r--r-- | darwin.nix | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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"; } |