Commit graph

615 commits

Author SHA1 Message Date
Jörg Thalheim 521380076d release proc.pid properly before calling waitpid() 2023-12-10 20:36:24 +00:00
Jörg Thalheim e1ad62cef1 include orignal json in worker error message 2023-12-10 20:36:24 +00:00
Jörg Thalheim d48cfadb3d fix catching eval errors on macOS 2023-12-10 20:36:24 +00:00
Jörg Thalheim c00fcbba8d drop obsolete compiler warning suppression 2023-12-10 20:36:24 +00:00
Jörg Thalheim b6ec7d2ecf make MyArgs non-copyable
this seems to have weird effects
2023-12-10 20:36:24 +00:00
Jörg Thalheim b24c03e2de simplify collector function
looks like the lambda doesn't buy us anything here.
2023-12-10 20:36:24 +00:00
Jörg Thalheim 97dd8023e8
Merge pull request #283 from nix-community/joerg-ci
apply treefmt
2023-12-10 17:03:00 +01:00
Jörg Thalheim b267eb917d apply treefmt 2023-12-10 17:00:31 +01:00
Jörg Thalheim f970ec3524 add test for evaluation errors 2023-12-10 16:59:14 +01:00
Jörg Thalheim e7c30b306d don't fail nix-eval-jobs on eval errors
This error handling was copied by accident in 5c764d4a67 (diff-a79ded172fd76747492a417a39848b6c25c14238e65971e6a05fe81706d5048fR622)
2023-12-10 15:57:18 +00:00
Jörg Thalheim 36a5368dfc include missing filesystem header 2023-12-10 14:52:52 +00:00
Jörg Thalheim 3be8c48f54 fix format 2023-12-10 14:52:52 +00:00
Jörg Thalheim a03f039a56 split nix-eval-jobs further into smaller files 2023-12-10 14:52:52 +00:00
Jörg Thalheim 880c66a7d1 move drvs ot its own class 2023-12-10 15:07:38 +01:00
Jörg Thalheim db3099bc8f move argument parsing to new file 2023-12-10 14:22:32 +01:00
Jörg Thalheim 6f4bee53f6 nix-github-action: fix value beeing interpreted as bool 2023-12-10 10:25:15 +00:00
Jörg Thalheim f49cb87963 enable asan/ubsan in ci 2023-12-10 10:25:15 +00:00
Jörg Thalheim 00d3f014e7 print error if worker receives invalid command 2023-12-10 10:25:15 +00:00
Jörg Thalheim 93972c0c18 handle broken evaluation worker pipes on write 2023-12-10 10:25:15 +00:00
Jörg Thalheim 36483b325c treefmt: replace prettier with deno
we don't have toml files and deno has a smaller install closure.
2023-12-10 10:25:15 +00:00
Jörg Thalheim 5ad4e7266f handle broken evaluation worker pipes more gracefully
writeLine will throw a SysError exception, which obfuscates out-of-memory events where the eval worker is killed by the OS.
readLine is suffering from the same problem and will be handled in a subsequent commit.
2023-12-10 10:25:15 +00:00
Jörg Thalheim 40ad828088 update flakes to fix tests on macos 2023-12-10 08:31:27 +00:00
Jörg Thalheim fad244725f print which derivation failed to evaluate 2023-12-10 08:31:27 +00:00
Jörg Thalheim 0f8e80f292
Merge pull request #276 from nix-community/joerg-ci
bump to 2.19.0
2023-12-06 09:56:32 +01:00
Jörg Thalheim 6f9a8d2cda bump to 2.19.0 2023-12-06 09:41:01 +01:00
Jörg Thalheim d4eeecf6b2 fix commandline parsing for nix 2.19 2023-12-06 08:30:10 +00:00
Jörg Thalheim c240e61481 fix missing includes for nix 2.19 2023-12-06 08:30:10 +00:00
Jörg Thalheim 34110992a8 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01)
  → 'github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5' (2023-12-01)
• Updated input 'nix-github-actions':
    'github:nix-community/nix-github-actions/4bb5e752616262457bc7ca5882192a564c0472d2' (2023-11-03)
  → 'github:nix-community/nix-github-actions/93e39cc1a087d65bcf7a132e75a650c44dd2b734' (2023-11-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5171694860f185961daff3b1b413dabcab421300' (2023-11-27)
  → 'github:NixOS/nixpkgs/9ed8ade77aef706a03d8cc3a5ad4f60848ac59a7' (2023-12-06)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/e82f32aa7f06bbbd56d7b12186d555223dc399d1' (2023-11-12)
  → 'github:numtide/treefmt-nix/affe7fc3f5790e1d0b5ba51bcff0f7ebe465e92d' (2023-12-04)
2023-12-06 08:30:10 +00:00
renovate[bot] 608089054e chore(deps): update cachix/install-nix-action action to v24 2023-11-28 18:11:31 +00:00
renovate[bot] e543721cff chore(deps): lock file maintenance 2023-11-27 00:57:07 +00:00
Jörg Thalheim 575ca7a957
Merge pull request #268 from nix-community/joerg-ci
README: mention nix-fast-build and buildbot-nix
2023-11-20 06:51:25 +01:00
Jörg Thalheim 70786f5ff4 fix mergify for normal non-bot merges 2023-11-20 06:50:56 +01:00
Jörg Thalheim 354fd8b93d README: mention nix-fast-build and buildbot-nix 2023-11-20 06:48:59 +01:00
renovate[bot] 7ee77ecd80 chore(deps): lock file maintenance 2023-11-20 02:28:57 +00:00
adisbladis c706391bd1
Merge pull request #269 from nix-community/renovate/lock-file-maintenance
chore(deps): lock file maintenance
2023-11-20 15:19:54 +13:00
renovate[bot] 333af7cb0f Lock file maintenance 2023-11-14 08:59:06 +00:00
mergify[bot] d075183226
Merge branch 'main' into renovate/lock-file-maintenance 2023-11-14 08:50:32 +00:00
Jörg Thalheim 0cdb4f4c63 renovate: add dependencies label 2023-11-14 09:49:42 +01:00
adisbladis ba5a08670c
Merge pull request #267 from mightyiam/patch-1
Update README.md
2023-11-14 19:43:20 +13:00
Shahar "Dawn" Or 9a456e0e72
Update README.md 2023-11-14 12:14:58 +07:00
renovate[bot] 67b35acd0e
Lock file maintenance 2023-11-13 01:58:28 +00:00
Jörg Thalheim 213e801956
Merge pull request #264 from nix-community/release-2.18
Prepare next release
2023-11-12 14:35:51 +01:00
Jörg Thalheim 6ac0adcbb0 update version: 2.16.0 -> 2.18.0 2023-11-12 14:17:43 +01:00
Jörg Thalheim a53aaefbcc publish to flakestry 2023-11-12 14:17:19 +01:00
Jörg Thalheim cdbfafc2e6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0d93ec62e06faec6c52331a8a87bd5721b38ce14' (2023-11-06)
  → 'github:NixOS/nixpkgs/44cf4801c0937b76cc6f416a0b160b5d1b3286af' (2023-11-12)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27)
  → 'github:numtide/treefmt-nix/e82f32aa7f06bbbd56d7b12186d555223dc399d1' (2023-11-12)
2023-11-12 14:11:00 +01:00
Jörg Thalheim 2b55f473c9
Merge pull request #263 from nix-community/renovate/lock-file-maintenance
Lock file maintenance
2023-11-06 09:56:43 +01:00
renovate[bot] 3fdf27e5df
Lock file maintenance 2023-11-06 02:33:20 +00:00
adisbladis 20a24e8b10
Merge pull request #260 from nix-community/no-garnix
CI: Garnix -> Github Actions
2023-11-04 14:11:17 +13:00
adisbladis 209f590412 Garnix -> Github Actions
It's much easier for forks to use GHA than it is to sign up for another proprietary service.
I was annoyed by this myself when I forked nix-eval-jobs to nix-unit.
2023-11-04 14:05:53 +13:00
adisbladis a64814310a update-flack-lock action -> renovate 2023-11-04 13:08:53 +13:00