Skip to content

Commit d9e4b3e

Browse files
authored
[revert] Revert derive nix profile changes (#1732)
1 parent deb2f93 commit d9e4b3e

File tree

19 files changed

+273
-454
lines changed

19 files changed

+273
-454
lines changed

.github/workflows/cli-tests.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Build devbox
6060
run: go build -o dist/devbox ./cmd/devbox
6161
- name: Upload devbox artifact
62-
uses: actions/upload-artifact@v3
62+
uses: actions/upload-artifact@v3
6363
with:
6464
name: devbox-${{ runner.os }}-${{ runner.arch }}
6565
path: ./dist/devbox
@@ -113,7 +113,7 @@ jobs:
113113
run: |
114114
chmod +x ./devbox
115115
sudo mv ./devbox /usr/local/bin/
116-
116+
117117
- run: devbox run lint
118118

119119
test:
@@ -129,8 +129,9 @@ jobs:
129129
run-project-tests: ["project-tests", "project-tests-off"]
130130
# Run tests on:
131131
# 1. the oldest supported nix version (which is 2.9.0? But determinate-systems installer has 2.12.0)
132-
# 2. latest nix version
133-
nix-version: ["2.12.0", "2.19.2"]
132+
# 2. nix version 2.17.0 which introduces a new code path that minimizes nixpkgs downloads.
133+
# 3. latest nix version
134+
nix-version: ["2.12.0", "2.17.0", "2.19.2"]
134135
exclude:
135136
- is-main: "not-main"
136137
os: "${{ inputs.run-mac-tests && 'dummy' || 'macos-latest' }}"
@@ -199,7 +200,7 @@ jobs:
199200
go test -v -timeout $DEVBOX_GOLANG_TEST_TIMEOUT ./...
200201
201202
auto-nix-install: # ensure Devbox installs nix and works properly after installation.
202-
needs: build-devbox
203+
needs: build-devbox
203204
strategy:
204205
matrix:
205206
os: [ubuntu-latest, macos-latest]

internal/devbox/nixprofile.go

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)