# Run NixOS Integration Tests on macOS

DevFeed: [Run NixOS Integration Tests on macOS](<https://devfeed.tech/articles/run-nixos-integration-tests-on-macos-32451.md>)

Original publisher: [Read original article](<https://nixcademy.com/posts/running-nixos-integration-tests-on-macos/>)

Author: Jacek Galowicz

Published: 2024-03-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Nixcademy Blog](<https://devfeed.tech/sources/nixcademy-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [qemu](<https://devfeed.tech/topics/qemu.md>), [Python](<https://devfeed.tech/topics/python.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [how-to](<https://devfeed.tech/tags/how-to.md>), [integration-test](<https://devfeed.tech/tags/integration-test.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [python](<https://devfeed.tech/tags/python.md>), [qemu](<https://devfeed.tech/tags/qemu.md>)

## AI overview

This tutorial explains how to run NixOS integration tests on macOS. The setup uses normal NixOS virtual machines while qemu and the Python test driver run natively on macOS, with a Linux Builder and required Nix capability flags.

## Source excerpt

NixOS integration now run on macOS! Learn how to set it up and run complex integration tests on your Mac today!