forked from mirrors/nixpkgs
dotty: use preFixup instead of fixupPhase
This commit is contained in:
parent
c6e5939c8f
commit
403a7405ab
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue