Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
ebed63b0a2 | |||
5c21a08208 | |||
9affe1ce81 | |||
ef735e86b9 | |||
4856b67e4a |
@ -17,8 +17,8 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: cachix/install-nix-action@v6
|
- uses: cachix/install-nix-action@v7
|
||||||
- run: nix-build
|
- run: nix-build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,14 +26,11 @@ nixConf
|
|||||||
# Needed due to multi-user being too defensive
|
# Needed due to multi-user being too defensive
|
||||||
export ALLOW_PREEXISTING_INSTALLATION=1
|
export ALLOW_PREEXISTING_INSTALLATION=1
|
||||||
|
|
||||||
sh <(curl https://nixos.org/nix/install) --daemon
|
sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||||
|
|
||||||
# write nix.conf again as installation overwrites it
|
# write nix.conf again as installation overwrites it
|
||||||
nixConf
|
nixConf
|
||||||
|
|
||||||
# Enable sandbox on Darwin/Linux
|
|
||||||
sudo sh -c 'echo sandbox = true >> /etc/nix/nix.conf'
|
|
||||||
|
|
||||||
# macOS needs certificates hints
|
# macOS needs certificates hints
|
||||||
if [[ $OSTYPE =~ darwin ]]; then
|
if [[ $OSTYPE =~ darwin ]]; then
|
||||||
cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
|
cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
|
||||||
|
Reference in New Issue
Block a user