Skip to content

Commit

Permalink
Use Nix installer
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann committed Oct 19, 2023
1 parent bdf42ce commit e6b787d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions modules/rules_nixpkgs_core/0.10.0/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ bcr_test_module:
name: "Run test module"
platform: ${{ platform }}
shell_commands:
- sudo apt update
- sudo apt install --yes nix-setup-systemd
- nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
- nix-channel --update
- curl -L https://nixos.org/nix/install -o /tmp/install-nix
- /tmp/install-nix --daemon
test_targets:
- "//..."

0 comments on commit e6b787d

Please sign in to comment.