Skip to content

Commit

Permalink
Set PATH manually.
Browse files Browse the repository at this point in the history
The shell configured on CI seems to disregard ~/.profile.
  • Loading branch information
aherrmann committed Oct 19, 2023
1 parent 8ec30d7 commit 71896a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/rules_nixpkgs_core/0.10.0/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ bcr_test_module:
run_tests:
name: "Run test module"
platform: ${{ platform }}
environment:
PATH: ~/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
shell_commands:
- curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
- . ~/.nix-profile/etc/profile.d/nix.sh
- echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.profile
test_targets:
- "//..."

0 comments on commit 71896a4

Please sign in to comment.