Skip to content

fix: install root certs correctly by changing how daemonization works #96

fix: install root certs correctly by changing how daemonization works

fix: install root certs correctly by changing how daemonization works #96

Workflow file for this run

name: nix
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Install Cache
uses: DeterminateSystems/magic-nix-cache-action@v4
- run: nix flake check
# confirms that the shell works, and that there are no linting errors
- name: lint formatting
run: |
nix develop --command bash -c "find . -name '*.nix' | xargs nixpkgs-fmt"
if ! git diff-index --quiet HEAD --; then
echo "nixpkgs-fmt had changes"
exit 1
fi
# confirms that the build works
- run: nix build .