-
-
Save timokau/76e1dd80823fae96d10b087105db3dd6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nix_bisect import nix, test_util, git_bisect | |
drv = nix.instantiate('something') | |
(rebuilds, fetches) = build_dry(drv) | |
if len(rebuilds) > 42: | |
git_bisect.quit_skip() | |
try: | |
nix.build([drv]) | |
except nix.BuildFailure: | |
git_bisect.quit_bad() | |
git_bisect.quit_good() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment