Skip to content

Commit

Permalink
[nix] hack mill runtime for faster deps fetching
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Oct 5, 2024
1 parent aaa867a commit 356d842
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nix/pkgs/mill-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ let
# Use "https://repo1.maven.org/maven2/" only to keep dependencies integrity
export COURSIER_REPOSITORIES="central"
mkdir -p "$TMPDIR/.mill/ammonite"
touch "$TMPDIR/.mill/ammonite/rt-${mill-rt-version}.jar"
mill -i __.prepareOffline
mill -i __.scalaCompilerClasspath
Expand Down

0 comments on commit 356d842

Please sign in to comment.