Commit graph

10 commits

Author SHA1 Message Date
9c23772cf2 Tidy and make it work on release-2.90 2024-06-18 22:31:42 -07:00
30cf61fd26 fix: don't crash on startup on macOS
This is caused, through several layers of absurdity, by runtime type
information of Nix things being invisible due to -fvisibility=hidden
inside n-e-j.

We don't have any idea why n-e-j has -fvisibility=hidden, since blame
says it's from the initial commit. It is plausible that it was some
ill-advised optimization but it's not sound.

The crash is caused by dynamic_cast<RootArgs *>(MyArgs *) failing, which
is in turn caused by the RTTI being invisible.

See: https://www.qt.io/blog/quality-assurance/one-way-dynamic_cast-across-library-boundaries-can-fail-and-how-to-fix-it
Fixes: #2
2024-05-27 18:23:13 -06:00
89927c434c make sure we also define HAVE_STRUCT_DIRENT_D_TYPE outside of autotools 2023-12-16 09:24:42 +01:00
a03f039a56 split nix-eval-jobs further into smaller files 2023-12-10 14:52:52 +00:00
880c66a7d1 move drvs ot its own class 2023-12-10 15:07:38 +01:00
db3099bc8f move argument parsing to new file 2023-12-10 14:22:32 +01:00
cace652bff fix build on darwin 2023-06-10 13:50:23 +02:00
1ea8948eb7 Fix build with stable Nix 2022-04-24 14:08:34 +12:00
174e735183
Rename project to nix-eval-jobs
We are getting rid of Hydra specific hacks and making this a more
generically useful component for any projects that need to run
large evaluations.
2021-08-24 14:06:27 -05:00
5ed5476058
add project 2020-11-29 15:33:55 +01:00