Skip to content

Commit 2c6272e

Browse files
authored
Merge pull request #247 from autc04/cachix-install-ratelimit-fix
Avoid GitHub's rate limits in CI builds
2 parents 353b971 + d4636b5 commit 2c6272e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
displayName: Install Nix
101101
- script: |
102102
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
103-
nix profile install --accept-flake-config nixpkgs#cachix
103+
nix-env -iA cachix -f https://cachix.org/api/v1/install
104104
cachix use autc04
105105
displayName: Setup Cachix
106106
- checkout: self
@@ -140,7 +140,7 @@ jobs:
140140
displayName: Install Nix
141141
- script: |
142142
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
143-
nix profile install --accept-flake-config nixpkgs#cachix
143+
nix-env -iA cachix -f https://cachix.org/api/v1/install
144144
cachix use autc04
145145
displayName: Setup Cachix
146146
- checkout: self

0 commit comments

Comments
 (0)