From 403a7405ab5b337b6f08349be0b7e2d09cadbc13 Mon Sep 17 00:00:00 2001 From: A cursed quail Date: Sun, 20 Nov 2022 22:30:30 -0600 Subject: [PATCH] dotty: use preFixup instead of fixupPhase --- pkgs/development/compilers/scala/bare.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/scala/bare.nix b/pkgs/development/compilers/scala/bare.nix index 92d22ca7d6e6..1914156e59d6 100644 --- a/pkgs/development/compilers/scala/bare.nix +++ b/pkgs/development/compilers/scala/bare.nix @@ -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'