1
0
Fork 0

GitHub Actions: Nix environment

master
dump_stack() 2020-01-05 06:16:37 +00:00
parent a4138a4b44
commit 1095218222
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,12 @@ jobs:
- uses: actions/checkout@v1
- name: Install Nix
run: curl https://nixos.org/nix/install | sh
run: |
curl https://nixos.org/nix/install | sh
. ~/.nix-profile/etc/profile.d/nix.sh
nix-channel --update
- name: Build
run: sudo make nix # root required for Nix build sandbox
run: |
. ~/.nix-profile/etc/profile.d/nix.sh
make nix