Commit graph

359 commits

Author SHA1 Message Date
adisbladis 7a9f13831c
Merge pull request #56 from jsoo1/refactor-drv-parsing
Refactor derivation representation.
2022-04-22 14:52:03 +07:00
John Soo f98da2e00b
Cleanup worker json handling. 2022-04-22 00:36:54 -07:00
John Soo 7aa9835adb
Cleanup gcroots creation. 2022-04-22 00:36:13 -07:00
John Soo 8dd6426d15
Make Drv struct.
To facilitate collecting and jsonifying derivations in different
contexts
2022-04-22 00:35:30 -07:00
adisbladis 192fa87968
Merge pull request #58 from nix-community/disable-classic-checks
Disable nix-shell based checks
2022-04-22 14:34:04 +07:00
adisbladis 5f9d57e9b1
Merge pull request #55 from jsoo1/kill-zombies
Kill zombies.
2022-04-22 14:33:16 +07:00
adisbladis 8bb83e4c69 Disable nix-shell based checks
We are essentially testing the same thing in the Flake check, the
difference is in the nix-shell vs `nix develop` invocation.

I will admit (even though this is my making) that it's a bit silly to
essentially test the same thing twice.
2022-04-22 19:18:57 +12:00
adisbladis f72f05d81f
Merge pull request #51 from nix-community/ci
flake: switch back to original nixpkgs
2022-04-22 14:17:55 +07:00
John Soo b9a87464a0
Move collecting handler to separate function.
s/master/collector/g
2022-04-22 00:15:28 -07:00
John Soo a27faabd0a
Use Proc struct to manage forked processes.
Cleans up zombie processes.
2022-04-22 00:15:28 -07:00
John Soo 9d4c256fa0
Make a Proc struct for running processes. 2022-04-22 00:15:27 -07:00
adisbladis 353724df90 Fix querying output paths
The upstream function signature changed, we no longer have to pass onlyOutputsToInstall.
2022-04-22 19:07:40 +12:00
Jörg Thalheim c1b86245a1 fix for nixUnstable 2022-04-22 18:53:12 +12:00
Jörg Thalheim 3094e12732 flake: switch back to original nixpkgs 2022-04-22 18:53:12 +12:00
adisbladis 01dd2d0133
Merge pull request #54 from jsoo1/add-debug-symbols-to-shell
Add debug symbols to nix-shell.
2022-04-22 13:52:08 +07:00
adisbladis a07a22f94c
Merge pull request #53 from jsoo1/silence-irrelevant-warnings
Ignore -Wnon-virtual-dtor for static struct.
2022-04-22 13:51:36 +07:00
adisbladis 6ef1b314d7 Only add debug symbols to shell on Linux 2022-04-22 18:42:40 +12:00
John Soo 0aa88f2f49 Add debug symbols to nix-shell. 2022-04-22 18:42:40 +12:00
adisbladis 55d91140be
Merge pull request #57 from jsoo1/refactor-top-level-value-finding
Refactor top-level value finding.
2022-04-22 13:29:26 +07:00
adisbladis 2a491dd7fd
Merge pull request #52 from jsoo1/gc-dont-gc
Set GC_DONT_GC=1.
2022-04-22 13:18:11 +07:00
John Soo 0e0c6c44d0
Ignore -Wnon-virtual-dtor for static struct. 2022-04-21 15:44:01 -07:00
John Soo dd8a2e89a0
Simplify top-level value fetching. 2022-04-21 11:44:02 -07:00
John Soo e05e625411
Make function to get top-level value from a flake. 2022-04-21 11:40:00 -07:00
John Soo 4a3d2e0008
Make function to get top-level value from releaseExpr. 2022-04-21 11:34:49 -07:00
John Soo b062ac705d
Set GC_DONT_GC=1.
To avoid `Collecting from unknown thread'.
2022-04-21 09:31:53 -07:00
Jörg Thalheim 2871c7a3f4
Merge pull request #48 from nix-community/dependabot/github_actions/cachix/install-nix-action-17
Bump cachix/install-nix-action from 16 to 17
2022-04-12 10:39:26 +01:00
dependabot[bot] ed136e1396
Bump cachix/install-nix-action from 16 to 17
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 16 to 17.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v16...v17)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 23:22:37 +00:00
Jörg Thalheim 4bab9e449d
Merge pull request #44 from nix-community/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2.4.0 to 3
2022-03-13 17:12:30 +00:00
Jörg Thalheim eddea80690
Merge pull request #45 from nix-community/build-fix
fix build with nix 2.7
2022-03-13 17:12:11 +00:00
Jörg Thalheim d592323c6b fix build with nix 2.7 2022-03-13 17:47:15 +01:00
dependabot[bot] 4a08b3d7aa
Bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:12:51 +00:00
mergify[bot] 9c2d7a8279
Merge pull request #39 from nix-community/update_flake_lock_action
flake.lock: Update
2022-02-24 01:09:43 +00:00
github-actions[bot] 7a9d31fbd8 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/23d785aa6f853e6cf3430119811c334025bbef55' (2022-02-11)
  → 'github:NixOS/nixpkgs/7f9b6e2babf232412682c09e57ed666d8f84ac2d' (2022-02-21)
2022-02-24 01:05:34 +00:00
mergify[bot] e4b14ac863
Merge pull request #37 from nix-community/update_flake_lock_action
flake.lock: Update
2022-02-21 01:02:32 +00:00
github-actions[bot] 9a5fd838d1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/48d63e924a2666baf37f4f14a18f19347fbd54a2' (2022-02-10)
  → 'github:NixOS/nixpkgs/23d785aa6f853e6cf3430119811c334025bbef55' (2022-02-11)
2022-02-21 00:58:37 +00:00
Jörg Thalheim f3bb3a1dd7
README: mention projects using nix-eval-jobs 2022-02-16 18:57:35 +01:00
Jörg Thalheim 7e6e48a428
Merge pull request #36 from zhaofengli/flush-cout
Flush cout after each output line
2022-02-16 15:34:36 +00:00
Zhaofeng Li 6d61193286 Flush cout after each output line
The default buffering behavior depends on whether the output is connected
to an interactive device. This causes output lines to be buffered in an
undesirable way when stdout is piped, which is how nix-eval-jobs is
normally used. Let's fix it by flushing stdout explicitly.
2022-02-16 00:46:57 -08:00
mergify[bot] cc892aeb90
Merge pull request #35 from nix-community/update_flake_lock_action
flake.lock: Update
2022-02-14 01:23:22 +00:00
github-actions[bot] 7e6e8083b4 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c5051e2b5fe9fab43a64f0e0d06b62c81a890b90' (2022-02-08)
  → 'github:NixOS/nixpkgs/48d63e924a2666baf37f4f14a18f19347fbd54a2' (2022-02-10)
2022-02-14 00:56:31 +00:00
mergify[bot] a08cada21d
Merge pull request #34 from nix-community/update_flake_lock_action
flake.lock: Update
2022-02-10 01:27:27 +00:00
github-actions[bot] 4c70bbf3c3 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/846b2ae0fc4cc943637d3d1def4454213e203cba' (2022-01-20)
  → 'github:numtide/flake-utils/3cecb5b042f7f209c56ffd8371b2711a290ec797' (2022-02-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/76e3df7c0687d5b9ff31431fd4ee4d4cd07a4b2f' (2022-02-03)
  → 'github:NixOS/nixpkgs/c5051e2b5fe9fab43a64f0e0d06b62c81a890b90' (2022-02-08)
2022-02-10 00:59:32 +00:00
adisbladis a129cf01ba
Merge pull request #33 from nix-community/dependabot/github_actions/DeterminateSystems/update-flake-lock-8
Bump DeterminateSystems/update-flake-lock from 7 to 8
2022-02-08 18:12:36 +12:00
dependabot[bot] 404534202e
Bump DeterminateSystems/update-flake-lock from 7 to 8
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 7 to 8.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v7...v8)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 23:12:17 +00:00
mergify[bot] 5d0453e893
Merge pull request #32 from nix-community/update_flake_lock_action
flake.lock: Update
2022-02-07 01:28:18 +00:00
github-actions[bot] 2c42a87020 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c07b471b52be8fbc49a7dc194e9b37a6e19ee04d' (2022-01-25)
  → 'github:NixOS/nixpkgs/76e3df7c0687d5b9ff31431fd4ee4d4cd07a4b2f' (2022-02-03)
2022-02-07 00:57:26 +00:00
Jörg Thalheim aa81824125
ci/update-flake-lock: switch back to upstream 2022-02-04 16:37:45 +01:00
mergify[bot] 479f0f8639
Merge pull request #31 from nix-community/update_flake_lock_action
flake.lock: Update
2022-01-27 01:01:06 +00:00
github-actions[bot] b7b7c875c4 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/689b76bcf36055afdeb2e9852f5ecdd2bf483f87' (2022-01-23)
  → 'github:NixOS/nixpkgs/c07b471b52be8fbc49a7dc194e9b37a6e19ee04d' (2022-01-25)
2022-01-27 00:56:58 +00:00
mergify[bot] edcec0b67a
Merge pull request #30 from nix-community/update_flake_lock_action
flake.lock: Update
2022-01-24 00:59:37 +00:00