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.
This commit is contained in:
Wolfgang Walther 2025-06-18 19:15:12 +02:00
parent baa3f5172c
commit 29ebc6ff47
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

View File

@ -32,7 +32,6 @@ stdenv.mkDerivation {
'';
inherit (bare) meta;
}
// {
inherit bare;
passthru = { inherit bare; };
}