Skip to content

Fix: Use mkDerivation with src instead of runCommand for test derivation #637

Fix: Use mkDerivation with src instead of runCommand for test derivation

Fix: Use mkDerivation with src instead of runCommand for test derivation #637

name: "tests-nix-macos"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
platform:
- macos-12
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
install_url: "https://releases.nixos.org/nix/nix-2.17.1/install"
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
name: eigenvalue
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: "./run_tests.sh --no-cargo-build"
- run: "nix --version"
- run: "nix flake check"
- run: "nix run . -- --help"