terraform: withPlugins should inherit meta from wrapped derivation (#103396)
When using `terraform.withPlugins (ps: [])` the returned derivation does not expose the meta of the underlying package. This change inherits meta from the terraform derivation in the wrapper derivation to expose it.
This commit is contained in:
parent
ad23775799
commit
380337da10
@ -114,7 +114,7 @@ let
|
||||
(orig: { passthru = orig.passthru // passthru; })
|
||||
else
|
||||
lib.appendToName "with-plugins" (stdenv.mkDerivation {
|
||||
inherit (terraform) name;
|
||||
inherit (terraform) name meta;
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = pluginDir + ''
|
||||
|
Loading…
Reference in New Issue
Block a user