diff --git a/infra/macos/2-vagrant-files/init.sh b/infra/macos/2-vagrant-files/init.sh index e8597d26783b..5e6798591169 100755 --- a/infra/macos/2-vagrant-files/init.sh +++ b/infra/macos/2-vagrant-files/init.sh @@ -136,7 +136,7 @@ log "Created /nix partition." su -l vsts <<'END' set -euo pipefail export PATH="/usr/local/bin:/usr/sbin:$PATH" -bash <(curl -sSfL https://nixos.org/nix/install) +bash <(curl https://nixos.org/nix/install) echo "build:darwin --disk_cache=~/.bazel-cache" > ~/.bazelrc END diff --git a/infra/main.tf b/infra/main.tf index 1aadce77d8f4..79a9cd0c28f4 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -11,13 +11,11 @@ terraform { provider "google" { project = "da-dev-gcp-daml-language" region = "us-east4" - version = "3.5" } provider "google-beta" { project = "da-dev-gcp-daml-language" region = "us-east4" - version = "3.5" } provider "secret" { diff --git a/infra/vsts_agent_linux_startup.sh b/infra/vsts_agent_linux_startup.sh index 046703fa3f80..6b42f6d75df7 100644 --- a/infra/vsts_agent_linux_startup.sh +++ b/infra/vsts_agent_linux_startup.sh @@ -146,7 +146,7 @@ chown --recursive root:root /home/vsts/agent/{*.sh,bin,externals} # This needs to run inside of a user with sudo access echo "vsts ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/nix_installation -su --command "sh <(curl -sSfL https://nixos.org/nix/install) --daemon" --login vsts +su --command "sh <(curl https://nixos.org/nix/install) --daemon" --login vsts rm /etc/sudoers.d/nix_installation # Note: the "hydra.da-int.net" string is now part of the name of the key for