Skip to content

Commit 3e8ff53

Browse files
authored
Prefer nix profile to nix-env
1 parent ff8c013 commit 3e8ff53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737

3838
- uses: actions/checkout@v4
3939
- name: Install stack and ghc
40-
run: nix-env -iA stack ghc -f '<nixpkgs>'
40+
run: nix profile install 'nixpkgs#stack' 'nixpkgs#ghc'
4141
- name: Install texinfo
4242
if: matrix.target == 'deploy-manual'
43-
run: nix-env -iA texinfo -f '<nixpkgs>'
43+
run: nix profile install 'nixpkgs#texinfo'
4444
- name: Run make
4545
run: make ${{ matrix.target || 'check' }}
4646
continue-on-error: ${{ matrix.emacs_version == 'snapshot' && (! matrix.target) }}

0 commit comments

Comments
 (0)