Skip to content

Commit

Permalink
terraform: withPlugins should inherit meta from wrapped derivation (N…
Browse files Browse the repository at this point in the history
…ixOS#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.
  • Loading branch information
kalbasit committed Nov 11, 2020
1 parent ad23775 commit 380337d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/networking/cluster/terraform/default.nix
Expand Up @@ -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 + ''
Expand Down

0 comments on commit 380337d

Please sign in to comment.