diff options
| author | Yonathan Randolph <yonathan@gmail.com> | 2022-08-16 13:55:13 -0700 |
|---|---|---|
| committer | Yonathan Randolph <yonathan@gmail.com> | 2022-08-16 13:55:13 -0700 |
| commit | 2120245fc210af504686da80ea3dfff27ef22b9e (patch) | |
| tree | 666d3743504e69c8b25e14396296bf0baebb777b /modules | |
| parent | 80871c71edb3da76d40bdff9cae007a2a035c074 (diff) | |
Fix #387 nix-rebuild --flake without XCode tools
Add nixpkgs git to PATH before /usr/bin/git so that when nix flake metadata invokes git, it does not invoke the XCode one.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nix/nix-darwin.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nix/nix-darwin.nix b/modules/nix/nix-darwin.nix index 69da8e7..f86b154 100644 --- a/modules/nix/nix-darwin.nix +++ b/modules/nix/nix-darwin.nix @@ -5,7 +5,7 @@ with lib; let inherit (pkgs) stdenv; - extraPath = lib.makeBinPath [ config.nix.package pkgs.coreutils pkgs.jq ]; + extraPath = lib.makeBinPath [ config.nix.package pkgs.coreutils pkgs.jq pkgs.git ]; writeProgram = name: env: src: pkgs.substituteAll ({ |
