terraform-full: Fix eval (#167857)
https://github.com/NixOS/nixpkgs/pull/166792 made the aliases work, which was unexpected for terraform-full. Thanks to zowoq for reporting https://github.com/NixOS/nixpkgs/pull/166792#issuecomment-1092742313
This commit is contained in:
parent
f63d377a5f
commit
375eaf2b4f
@ -104,5 +104,8 @@ let
|
||||
ultradns = archived "2022/01";
|
||||
vthunder = throw "provider was renamed to thunder on 2022/01";
|
||||
};
|
||||
|
||||
# excluding aliases, used by terraform-full
|
||||
actualProviders = automated-providers // special-providers;
|
||||
in
|
||||
automated-providers // special-providers // removed-providers // { inherit mkProvider; }
|
||||
actualProviders // removed-providers // { inherit actualProviders mkProvider; }
|
||||
|
@ -85,7 +85,7 @@ let
|
||||
passthru = {
|
||||
withPlugins = newplugins:
|
||||
withPlugins (x: newplugins x ++ actualPlugins);
|
||||
full = withPlugins (p: lib.filter lib.isDerivation (lib.attrValues p));
|
||||
full = withPlugins (p: lib.filter lib.isDerivation (lib.attrValues p.actualProviders));
|
||||
|
||||
# Expose wrappers around the override* functions of the terraform
|
||||
# derivation.
|
||||
|
Loading…
Reference in New Issue
Block a user