From 9b2937b214beff9fa81efb8fc0cea67c4405b30b Mon Sep 17 00:00:00 2001 From: Benoit de Chezelles Date: Mon, 24 Mar 2025 20:39:49 +0000 Subject: [PATCH] docs: Mention Nix install requires Git to be available --- docs/install/linux.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/install/linux.md b/docs/install/linux.md index 1a657cea7..775f4ec2b 100644 --- a/docs/install/linux.md +++ b/docs/install/linux.md @@ -303,6 +303,19 @@ hide: } ``` + !!! note "Git must be available in $PATH before attempting install" + + The Wezterm package uses Nix's `builtins.fetchGit` which depends on the `git` + binary being available in `$PATH` during the _evaluation_ phase (before building packages). + + Git must be installed before attempting to install wezterm. + + Note: `builtins.fetchGit` is used because of `cargoLock.allowBuiltinFetchGit` in `buildRustPackage` call. + + (This is a known Nix issue, tracked in [nix#3533](https://github.com/NixOS/nix/issues/3533) + & [nix#9807](https://github.com/NixOS/nix/issues/9807)) + + ### Flake If you need a newer version use the flake. Use the cachix if you want to avoid building WezTerm from source.