diff options
author | Nick Cao <nickcao@nichi.co> | 2024-05-31 14:54:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 14:54:30 -0400 |
commit | ce653dce760280a97eb801326bbd2c55f4a3554a (patch) | |
tree | bb88db78e53ca12a1267ff39f4dc61130249a559 /pkgs/development/julia-modules | |
parent | 2e2e65366463e39c2a2d0d2d197506650f6ca454 (diff) | |
parent | 4ebab7e86d60dbe77a7d2da6436895edc05e1ca4 (diff) |
Merge pull request #316084 from codedownio/fix-julia-withpkgs-git
julia.withPackages: fix compatibility with new git security features
Diffstat (limited to 'pkgs/development/julia-modules')
-rw-r--r-- | pkgs/development/julia-modules/depot.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/julia-modules/depot.nix b/pkgs/development/julia-modules/depot.nix index 5614f1427aa5e..c2189ebaf94c0 100644 --- a/pkgs/development/julia-modules/depot.nix +++ b/pkgs/development/julia-modules/depot.nix @@ -52,7 +52,10 @@ runCommand "julia-depot" { # for finding the extra packages we need to add python ${./python}/find_package_implications.py "${closureYaml}" '${lib.generators.toJSON {} packageImplications}' extra_package_names.txt - # git config --global --add safe.directory '/nix' + # Work around new git security features added in git 2.44.1 + # See https://github.com/NixOS/nixpkgs/issues/315890 + git config --global --add safe.directory '*' + export JULIA_PKG_USE_CLI_GIT="true" # At time of writing, this appears to be the only way to turn precompiling's |