From 93a1114515e9e848b3ed0b8488b6dd879b0e7288 Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Wed, 9 Mar 2022 20:15:29 +0000 Subject: [PATCH] try fix on darwin --- home/base/zsh.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/base/zsh.nix b/home/base/zsh.nix index a6d3ed4..b42b648 100644 --- a/home/base/zsh.nix +++ b/home/base/zsh.nix @@ -29,7 +29,10 @@ in { }; envExtra = '' export VAULT_ADDR="https://vault.owo.monster" - ''; + '' ++ (if pkgs.stdenv.isDarwin then '' + export PATH=/run/current-system/sw/bin:$PATH + '' else + ""); }; programs.direnv = { enable = true;