mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
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.
This commit is contained in:
parent
80871c71ed
commit
2120245fc2
1 changed files with 1 additions and 1 deletions
|
@ -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 ({
|
||||
|
|
Loading…
Add table
Reference in a new issue