Unverified Commit 29ebc6ff authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

scala: refactor bare to passthru

The `.bare` attribute is probably only supposed to be used inside
nixpkgs, i.e. for `scala-next`. Still, this link breaks in some obscure
override scenarios, so let's improve that with a passthru.

Also: Any attribute concatenation onto the result of mkDerivation will
break some overrideability.
parent baa3f517
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ stdenv.mkDerivation {
  '';

  inherit (bare) meta;
}
// {
  inherit bare;

  passthru = { inherit bare; };
}