Unverified Commit 3735237f authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #202139 from NLincoln/nl.scalac-fixup-phase

dotty: use preFixup instead of fixupPhase
parents c89f68de 403a7405
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -17,7 +17,9 @@ stdenv.mkDerivation rec {
    mv * $out
  '';

  fixupPhase = ''
  # Use preFixup instead of fixupPhase
  # because we want the default fixupPhase as well
  preFixup = ''
        bin_files=$(find $out/bin -type f ! -name common)
        for f in $bin_files ; do
          wrapProgram $f --set JAVA_HOME ${jre} --prefix PATH : '${ncurses.dev}/bin'