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:
parent
baa3f5172c
commit
29ebc6ff47
@ -32,7 +32,6 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
inherit (bare) meta;
|
||||
}
|
||||
// {
|
||||
inherit bare;
|
||||
|
||||
passthru = { inherit bare; };
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user