diff options
author | Wael Nasreddine <wael.nasreddine@gmail.com> | 2020-11-11 11:36:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-11 11:36:31 -0800 |
commit | 380337da106cca58932154e4ea04dc1b64703a04 (patch) | |
tree | 73488204e4de6c6d790a2e9e453ec27eb01ccf3c /pkgs/applications/networking/cluster/terraform | |
parent | ad23775799e6b06bafcb1780edbb8dcf6ca41040 (diff) |
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.
Diffstat (limited to 'pkgs/applications/networking/cluster/terraform')
-rw-r--r-- | pkgs/applications/networking/cluster/terraform/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index b73f24ed47d9..b478071ead16 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -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 + '' |