We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 636e3a7 commit b2e2f3dCopy full SHA for b2e2f3d
.azure/azure-nightly-template-linux.yml
@@ -28,7 +28,12 @@ jobs:
28
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
29
displayName: 'Installation ${{parameters.os}}'
30
- script: |
31
- curl https://nixos.org/nix/install | sh
+ # Retry installing nix due to nondeterministic error
32
+ # Fatal error: glibc detected an invalid stdio handle
33
+ # See:
34
+ # https://github.com/nh2/static-haskell-nix/pull/27#issuecomment-502652181
35
+ # https://github.com/NixOS/nix/issues/2733
36
+ (for i in {1..5}; do bash <(curl https://nixos.org/nix/install) && exit 0; done; exit 1)
37
source ~/.profile
38
export STACK_ROOT="$(Build.SourcesDirectory)"/.stack-root;
39
export PATH=$HOME/.local/bin:$PATH;
0 commit comments