From d629301f9d9e99828d36e96d195e66d178c5dfb9 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 27 Nov 2018 09:25:36 -0800 Subject: Fix path on macOS --- darwin.nix | 4 ++++ 1 file changed, 4 insertions(+) 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"; } -- cgit v1.2.3