terraform-providers: update nix command for nix 2.4

main
zowoq 3 years ago
parent c366024777
commit 751887b1f6
  1. 2
      pkgs/applications/networking/cluster/terraform-providers/update-provider

@ -165,7 +165,7 @@ if [[ -z "$vendorSha256" ]]; then
vendorSha256=$(echo "${BASH_REMATCH[1]#sha256:}" | head -n 1)
# Deal with nix unstable
if [[ $vendorSha256 = sha256-* ]]; then
vendorSha256=$(nix to-base32 "$vendorSha256")
vendorSha256=$(nix --extra-experimental-features nix-command hash to-base32 "$vendorSha256")
fi
fi
fi

Loading…
Cancel
Save