diff options
| author | 2026-05-20 13:56:12 +0100 | |
|---|---|---|
| committer | 2026-05-20 13:56:12 +0100 | |
| commit | 3ee1769ac0f5618da3d3346ff5dd70c07c11b0fe (patch) | |
| tree | bec9ec908bfe9f19bb7a3175a66cbf1ecba83be5 | |
| parent | a41bcc4cd9cddde9e03cc99b2a57e6356e062d8d (diff) | |
| download | dotfiles-3ee1769ac0f5618da3d3346ff5dd70c07c11b0fe.tar.gz dotfiles-3ee1769ac0f5618da3d3346ff5dd70c07c11b0fe.tar.bz2 dotfiles-3ee1769ac0f5618da3d3346ff5dd70c07c11b0fe.zip | |
zsh: hm wrapper needs --impure for builtins.getEnv
host.nix reads HOME/USER via builtins.getEnv, which returns "" under
pure-eval (nix run's default). just-nix-switch already passes --impure;
match it here.
| -rw-r--r-- | dot_config/zsh/dot_zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index 0bca505..99f67f3 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -369,7 +369,7 @@ hm() { esac local flake="$HOME/dotfiles/nix#${profile}" [ -d "$HOME/.local/share/dotfiles/nix" ] && flake="$HOME/.local/share/dotfiles/nix#${profile}" - nix run home-manager/master -- "$@" --flake "$flake" + nix run home-manager/master -- "$@" --flake "$flake" --impure } # LLVM / Clang tooling |
