Using lib.makeDiskoTest in my own flake #881
Labels
enhancement
New feature or request
question
Not a bug or issue, but a question asking for help or information
I'm working on cleaning up my NixOS configs, and am curious about running some of my own integration tests in CI. I'm also planning to use disko, so was thinking it might be nice to use
lib.makeDiskoTest
with my own layout instead of NixOS'srunNixOSTest
.Using Disko's own flake checks as inspiration I've got something that's half-working by accessing
disko.lib.makeDiskoTest
directly within my flake; however, doing it this way requires runningnix flake check
with the--impure
option, which doesn't seem ideal.When I try to import
lib
like below (my flake is here: https://github.com/johnjameswhitman/kipos/pull/4/files#r1844406285), it fails with an error:Any idea why that might be?
The text was updated successfully, but these errors were encountered: