diff options
author | Stephen <stephengroat@users.noreply.github.com> | 2019-01-18 09:49:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 09:49:19 -0800 |
commit | ab2c1a7bedc24da96f4eb3731afe5df0646ea6bd (patch) | |
tree | b701204f0add214c1c2cdc0e8a1debb465fc3801 | |
parent | d5a3e320067910ff7dc49da6f008cbb8580d69eb (diff) | |
download | nixlib-ab2c1a7bedc24da96f4eb3731afe5df0646ea6bd.tar nixlib-ab2c1a7bedc24da96f4eb3731afe5df0646ea6bd.tar.gz nixlib-ab2c1a7bedc24da96f4eb3731afe5df0646ea6bd.tar.bz2 nixlib-ab2c1a7bedc24da96f4eb3731afe5df0646ea6bd.tar.lz nixlib-ab2c1a7bedc24da96f4eb3731afe5df0646ea6bd.tar.xz nixlib-ab2c1a7bedc24da96f4eb3731afe5df0646ea6bd.tar.zst nixlib-ab2c1a7bedc24da96f4eb3731afe5df0646ea6bd.zip |
terraform-providers: limit subpackages
https://github.com/NixOS/nixpkgs/pull/52937#issuecomment-455629855
-rw-r--r-- | pkgs/applications/networking/cluster/terraform-providers/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/terraform-providers/default.nix b/pkgs/applications/networking/cluster/terraform-providers/default.nix index 702a7cb7eb1e..0922bd7b8a9f 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/default.nix +++ b/pkgs/applications/networking/cluster/terraform-providers/default.nix @@ -11,10 +11,12 @@ let inherit (data) owner repo version sha256; name = "${repo}-${version}"; goPackagePath = "github.com/${owner}/${repo}"; + subPackages = [ "." ]; src = fetchFromGitHub { inherit owner repo sha256; rev = "v${version}"; }; + # Terraform allow checking the provider versions, but this breaks # if the versions are not provided via file paths. |