nixos-flake icon indicating copy to clipboard operation
nixos-flake copied to clipboard

Add nixosTest

Open srid opened this issue 3 years ago • 2 comments

https://nix.dev/tutorials/integration-testing-using-virtual-machines

We want to test that running nix run .#activate (on ./examples/*) will do what it is supposed to do.

srid avatar Mar 20 '23 15:03 srid

Open question: what do we use to test on macOS?

srid avatar Mar 20 '23 15:03 srid

Regressions like https://github.com/srid/nixos-flake/commit/fab75907cfc0c4e48ceab7a7194f019b55828895 could have been caught by this.

srid avatar Mar 20 '23 16:03 srid