Merge pull request #308816 from pwaller/julia

julia.withPackages: Disable pretty terminal output during nix build
This commit is contained in:
Nick Cao 2024-05-03 21:23:55 -04:00 committed by GitHub
commit 303b3c43ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,6 +55,11 @@ runCommand "julia-depot" {
# git config --global --add safe.directory '/nix'
export JULIA_PKG_USE_CLI_GIT="true"
# At time of writing, this appears to be the only way to turn precompiling's
# terminal output into standard logging, so opportunistically do that.
# (Note this is different from JULIA_CI).
export CI=true
julia -e ' \
import Pkg
import Pkg.Types: PRESERVE_NONE