dotty: use preFixup instead of fixupPhase
This commit is contained in:
parent
c6e5939c8f
commit
403a7405ab
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ stdenv.mkDerivation rec {
|
||||||
mv * $out
|
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)
|
bin_files=$(find $out/bin -type f ! -name common)
|
||||||
for f in $bin_files ; do
|
for f in $bin_files ; do
|
||||||
wrapProgram $f --set JAVA_HOME ${jre} --prefix PATH : '${ncurses.dev}/bin'
|
wrapProgram $f --set JAVA_HOME ${jre} --prefix PATH : '${ncurses.dev}/bin'
|
||||||
|
|
Loading…
Reference in a new issue