Unverified Commit 403a7405 authored by A cursed quail's avatar A cursed quail
Browse files

dotty: use preFixup instead of fixupPhase

parent c6e5939c
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'