dotty: use preFixup instead of fixupPhase

This commit is contained in:
A cursed quail 2022-11-20 22:30:30 -06:00
parent c6e5939c8f
commit 403a7405ab
No known key found for this signature in database
GPG key ID: F1DF83DEC4C611EC

View file

@ -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'