diff --git a/pkgs/development/compilers/scala/2.10.nix b/pkgs/development/compilers/scala/2.10.nix index ab13e0ba7dc3..26fd3850190b 100644 --- a/pkgs/development/compilers/scala/2.10.nix +++ b/pkgs/development/compilers/scala/2.10.nix @@ -8,7 +8,8 @@ stdenv.mkDerivation rec { sha256 = "1ckyz31gmf2pgdl51h1raa669mkl7sqfdl3vqkrmyc46w5ysz3ci"; }; - buildInputs = [ jre makeWrapper ] ; + propagatedBuildInputs = [ jre ] ; + buildInputs = [ makeWrapper ] ; installPhase = '' mkdir -p $out diff --git a/pkgs/development/compilers/scala/default.nix b/pkgs/development/compilers/scala/default.nix index 289c63f7bcf9..ec80317c7777 100644 --- a/pkgs/development/compilers/scala/default.nix +++ b/pkgs/development/compilers/scala/default.nix @@ -8,7 +8,8 @@ stdenv.mkDerivation rec { sha256 = "1l16571fw5l339wd02w2pnr3556j804zpbsbymnad67f2dpikr7z"; }; - buildInputs = [ jre makeWrapper ] ; + propagatedBuildInputs = [ jre ] ; + buildInputs = [ makeWrapper ] ; installPhase = '' mkdir -p $out