Skip to content

Commit 8886214

Browse files
authored
Replace DeterminateSystems/nix-installer with official installer (#400)
1 parent d813d76 commit 8886214

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ updates:
66
interval: 'monthly'
77
ignore:
88
- dependency-name: 'crate-ci/typos'
9-
groups:
10-
nix-actions:
11-
patterns:
12-
- 'DeterminateSystems*'
139
- package-ecosystem: 'bundler'
1410
# Don't icnlude '/gemfiles/oldest', the gemspec is not parsible by dependabot and using hardlink will broken the require_relative in gemspec
1511
directory: '/'

.github/workflows/ci-nix.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ jobs:
2626
timeout-minutes: 30
2727
steps:
2828
- uses: actions/checkout@v5
29-
- uses: DeterminateSystems/nix-installer-action@v20
29+
- uses: cachix/install-nix-action@7ec16f2c061ab07b235a7245e06ed46fe9a1cab6 # v31.8.3
30+
with:
31+
extra_nix_config: |
32+
sandbox = true
33+
accept-flake-config = true
3034
- run: nix flake check
3135
- run: nix develop --command echo 'This step should be done before any other "nix develop" steps because of measuring Nix build time'
3236
- run: nix develop --command bundle install

.github/workflows/merge-bot-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
]
3030
timeout-minutes: 10
3131
- name: Approve and merge
32-
if: ${{ (steps.metadata.outputs.update-type != 'version-update:semver-major') || contains(steps.metadata.outputs.dependency-names, 'DeterminateSystems') }}
32+
if: ${{ (steps.metadata.outputs.update-type != 'version-update:semver-major') || contains(steps.metadata.outputs.dependency-names, 'cachix') }}
3333
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash --delete-branch "$PR_URL"
3434
env:
3535
PR_URL: ${{ github.event.pull_request.html_url }}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
If only changing Ruby code, this step is unnecessary
66

7-
1. Install [Nix](https://nixos.org/) package manager and enable [Flakes](https://nixos.wiki/wiki/Flakes)\
7+
1. Install [Nix](https://nixos.org/) package manager and enable [Flakes](https://wiki.nixos.org/wiki/Flakes)\
88
Or use Nix installed containers. For example, look at [this repo](https://github.com/kachick/containers)
99
2. Run dev shell as one of the following
1010
- with [direnv](https://github.com/direnv/direnv): `direnv allow`

0 commit comments

Comments
 (0)