Robert Hensing
c7278d429f
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/f2f7418ce0ab4a5309a4596161d154cfc877af66?narHash=sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq%2BraipRI%3D' (2025-01-01)
→ 'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
• Updated input 'nix':
'github:NixOS/nix/deb3533eab9a36807d082992cccfbb7c4df3451e?narHash=sha256-RvFxgWnJznjdH0pu5O9ZevFhMbkVO7uMBopEjSmfuJc%3D' (2025-01-01)
→ 'github:NixOS/nix/5230d3ecc4cd3a3d965902a56b5a21bcc99821c3?narHash=sha256-u6OD0BH%2BUxyfrWMMpBfM5cz/TDWU9lxJOujgzqBnN9A%3D' (2025-01-08)
• Updated input 'nix-cargo-integration':
'github:yusdacra/nix-cargo-integration/ff12a974d569115027506ee59014ec2e7fdea3bf?narHash=sha256-1MjA5fAjg3eqwBkL/QzMz4c%2B87oem3vh8EXGRXjF1ug%3D' (2025-01-01)
→ 'github:yusdacra/nix-cargo-integration/1ce1f666c955e73f65de74f3a8c3ca2c3e5d741b?narHash=sha256-nOWLP6pSblYrCipiBb7/SQpGhNe7AHT8m9f%2B%2Bb8/Ni4%3D' (2025-01-08)
• Updated input 'nix-cargo-integration/parts':
'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
→ 'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/a00807363a8a6cae6c3fa84ff494bf9d96333674?narHash=sha256-%2BskLL6mq/T7s6J5YmSp89ivQOHBPQ40GEU2n8yqp6bs%3D' (2025-01-01)
→ 'github:oxalica/rust-overlay/a0b81d4fa349d9af1765b0f0b4a899c13776f706?narHash=sha256-IKrk7RL%2BQ/2NC6%2BQl6dwwCNZI6T6JH2grTdJaVWHF0A%3D' (2025-01-08)
• Updated input 'nix-cargo-integration/treefmt':
'github:numtide/treefmt-nix/56c0ecd79f7ba01a0ec027da015df751d6ca3ae7?narHash=sha256-Q6xAmciTXDtZfUxf6c15QqtRR8BvX4edYPstF/uoqMk%3D' (2024-12-31)
→ 'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
→ 'github:NixOS/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04)
(cherry picked from commit fe77bf1a1f3777d7e961c162ccce3dd7564a624a)
2025-10-04 02:31:16 +02:00
Robert Hensing
32136109fc
maint: Ask GCC for system headers
...
In the previous update commit, the Nix `cc.version` didn't match the
in-output directory name anymore, causing a build failure.
By asking GCC properly, we are robust against such discrepancies.
The script isn't great, relying on GCC "log" output specifics, but it
seems that the GCC output has been like this for a while, and the
lines before and after seem to be intentional about their purpose...
(cherry picked from commit 68f928555660cb914105b0ad668d6cadc25223e9)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
d693957c1a
dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'hercules-ci-effects':
'github:hercules-ci/hercules-ci-effects/b89ac4d66d618b915b1f0a408e2775fe3821d141?narHash=sha256-mnynlrPeiW0nUQ8KGZHb3WyxAxA3Ye/BH8gMjdoKP6E%3D' (2024-11-06)
→ 'github:hercules-ci/hercules-ci-effects/f6233b5cfbada692d93a73d6ed35bdbfd0fdb9c4?narHash=sha256-cwk53OX1S1bCFY09zydubZNmmwcx9l5XEba8mVYuNE4%3D' (2025-01-01)
• Updated input 'hercules-ci-effects/flake-parts':
'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d?narHash=sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm%2BGpZNw%3D' (2024-04-01)
→ 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
• Updated input 'hercules-ci-effects/nixpkgs':
'github:NixOS/nixpkgs/6143fc5eeb9c4f00163267708e26191d1e918932?narHash=sha256-%2Bz/XjO3QJs5rLE5UOf015gdVauVRQd2vZtsFkaXBq2Y%3D' (2024-04-21)
→ 'github:NixOS/nixpkgs/55d15ad12a74eb7d4646254e13638ad0c4128776?narHash=sha256-M1%2BuCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo%3D' (2024-12-03)
• Updated input 'pre-commit-hooks-nix':
'github:cachix/pre-commit-hooks.nix/3308484d1a443fc5bc92012435d79e80458fe43c?narHash=sha256-mnTbjpdqF0luOkou8ZFi2asa1N3AA2CchR/RqCNmsGE%3D' (2024-11-19)
→ 'github:cachix/pre-commit-hooks.nix/f0f0dc4920a903c3e08f5bdb9246bb572fcae498?narHash=sha256-ulZN7ps8nBV31SE%2BdwkDvKIzvN6hroRY8sYOT0w%2BE28%3D' (2024-12-21)
(cherry picked from commit a5912eab101cf9394e4450739148dd1f760161bc)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
1a3ade4495
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
→ 'github:hercules-ci/flake-parts/f2f7418ce0ab4a5309a4596161d154cfc877af66?narHash=sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq%2BraipRI%3D' (2025-01-01)
• Updated input 'flake-parts/nixpkgs-lib':
'https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz?narHash=sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s%3D ' (2024-11-01)
→ 'https://github.com/NixOS/nixpkgs/archive/e9b51731911566bbf7e4895475a87fe06961de0b.tar.gz?narHash=sha256-CewEm1o2eVAnoqb6Ml%2BQi9Gg/EfNAxbRx1lANGVyoLI%3D ' (2025-01-01)
• Updated input 'nix':
'github:NixOS/nix/2f32cf6d90df599d620eea5c48b9469f1c251025?narHash=sha256-BeyD6r1rQWaL%2BK7vLRSiCcZG4czEfmBYEL3kvBS2nGw%3D' (2024-12-16)
→ 'github:NixOS/nix/deb3533eab9a36807d082992cccfbb7c4df3451e?narHash=sha256-RvFxgWnJznjdH0pu5O9ZevFhMbkVO7uMBopEjSmfuJc%3D' (2025-01-01)
• Updated input 'nix/flake-compat':
'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D' (2023-10-04)
→ 'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04)
• Updated input 'nix/flake-parts':
'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7?narHash=sha256-pQMhCCHyQGRzdfAkdJ4cIWiw%2BJNuWsTX7f0ZYSyz0VY%3D' (2024-07-03)
→ 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
• Updated input 'nix/git-hooks-nix':
'github:cachix/git-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd?narHash=sha256-6FPUl7HVtvRHCCBQne7Ylp4p%2BdpP3P/OYuzjztZ4s70%3D' (2024-07-15)
→ 'github:cachix/git-hooks.nix/aa9f40c906904ebd83da78e7f328cd8aeaeae785?narHash=sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0%3D' (2024-12-15)
• Removed input 'nix/libgit2'
• Updated input 'nix-cargo-integration':
'github:yusdacra/nix-cargo-integration/413617712f5189397cdf602485f89bf2b0a0e4af?narHash=sha256-g7TCUozMeW3q5Uc%2BwmZI64yzFucQ3SYlZQepo7prarA%3D' (2024-12-01)
→ 'github:yusdacra/nix-cargo-integration/ff12a974d569115027506ee59014ec2e7fdea3bf?narHash=sha256-1MjA5fAjg3eqwBkL/QzMz4c%2B87oem3vh8EXGRXjF1ug%3D' (2025-01-01)
• Updated input 'nix-cargo-integration/dream2nix':
'github:nix-community/dream2nix/a8dac99db44307fdecead13a39c584b97812d0d4?narHash=sha256-ViyEMSYwaza6y55XTDrsRi2K4YKCLsefMTorjWSE27s%3D' (2024-11-21)
→ 'github:nix-community/dream2nix/8ce6284ff58208ed8961681276f82c2f8f978ef4?narHash=sha256-n5CwhmqKxifuD4Sq4WuRP/h5LO6f23cGnSAuJemnd/4%3D' (2024-12-25)
• Updated input 'nix-cargo-integration/parts':
'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
→ 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/8e18f10703112e6c33e1c0d8b93e8305f6f0a75c?narHash=sha256-Chv9%2B3zrf1DhdB9JyskjoV0vJbCQEgkVqrU3p4RPLv8%3D' (2024-12-01)
→ 'github:oxalica/rust-overlay/a00807363a8a6cae6c3fa84ff494bf9d96333674?narHash=sha256-%2BskLL6mq/T7s6J5YmSp89ivQOHBPQ40GEU2n8yqp6bs%3D' (2025-01-01)
• Updated input 'nix-cargo-integration/treefmt':
'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
→ 'github:numtide/treefmt-nix/56c0ecd79f7ba01a0ec027da015df751d6ca3ae7?narHash=sha256-Q6xAmciTXDtZfUxf6c15QqtRR8BvX4edYPstF/uoqMk%3D' (2024-12-31)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/970e93b9f82e2a0f3675757eb0bfc73297cc6370?narHash=sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE%3D' (2024-11-28)
→ 'github:NixOS/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
• Updated input 'nixpkgs-old':
'github:NixOS/nixpkgs/7e1ca67996afd8233d9033edd26e442836cc2ad6?narHash=sha256-8qwPSE2g1othR1u4uP86NXxm6i7E9nHPyJX3m3lx7Q4%3D' (2024-12-01)
→ 'github:NixOS/nixpkgs/b134951a4c9f3c995fd7be05f3243f8ecd65d798?narHash=sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8%3D' (2024-12-30)
(cherry picked from commit ad6be2541828e900f64cefc4d00bc982c92a3d28)
2025-10-04 02:31:16 +02:00
Robert Hensing
d19dd45bbf
fix: Mark all pointer manipulation as unsafe
...
See b43455fdd0468f067741a79a7031ba2fa907f0eb for rationale
(cherry picked from commit b9996c6ddd3973cd419930210bf11a4d1bc6350b)
2025-10-04 02:31:16 +02:00
Robert Hensing
c986c09b8c
feat: Store.parse_store_path()
...
(cherry picked from commit 6b92d4164b94d5030929dfb56577b1fd8d62e067)
2025-10-04 02:31:16 +02:00
Robert Hensing
c9d54ccbc6
feat: Store.get_storedir()
...
(cherry picked from commit 6f4ba636f1e563167e6456d42c9fb6f65c9ca504)
2025-10-04 02:31:16 +02:00
Robert Hensing
3d3c77eced
doc: StorePath.name()
...
(cherry picked from commit 2f3dc27eb816634ebb8edbabd409ebc52db9a0bb)
2025-10-04 02:31:16 +02:00
Robert Hensing
ce07ed1c07
fix: Mark all StorePath pointer management as unsafe
...
... because it is. I had previously dismissed the comparatively
trivial unsafety of these functions, assuming the caller is
aware of the purpose of them and reasonably familiar with manual
memory management.
That would have been fine in an unsafe by default language like C++,
which Rust is not.
(cherry picked from commit b43455fdd0468f067741a79a7031ba2fa907f0eb)
2025-10-04 02:31:16 +02:00
Robert Hensing
6193575d1e
fix: Require non-null pointer in StorePath
...
Fixes https://github.com/nixops4/nixops4/issues/65 ,
possible undefined behavior.
This doesn't make the code nice wrt *const/*mut distinction, but
since we're not mutating it, this should be fine.
(cherry picked from commit 75d448aad923a5f835f0562400e223df43103ea4)
2025-10-04 02:31:16 +02:00
Robert Hensing
28deb20a2b
feat: EvalState.new_value_attrs
...
(cherry picked from commit 5b3f4d97f968b518c901c2de3759640b91fd37c2)
2025-10-04 02:31:16 +02:00
Robert Hensing
dc01d3731f
feat: Add EvalState::call_multi
...
(cherry picked from commit e1866f0c61011ffb57b607abe871340aca294f19)
2025-10-04 02:31:16 +02:00
Robert Hensing
8a437b71a0
test: Fix flaky eval_state_value_attrs_names_example
...
(cherry picked from commit 4583b422038661de02c6fe672559d2519f38dfce)
2025-10-04 02:31:16 +02:00
Robert Hensing
76b92a577d
feat: Add EvalState.require_attrs_names (sorted)
...
(cherry picked from commit 0b1aca5a1ee7136e76a201477643cfc3acbf2676)
2025-10-04 02:31:16 +02:00
Robert Hensing
237a2281c1
refact: require_attrs_names -> require_attrs_names_unsorted
...
(cherry picked from commit 13a3adf4f17351bc6ba3d91567a642ec1ae704f6)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
22d2b3e6f3
dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'hercules-ci-effects':
'github:hercules-ci/hercules-ci-effects/d70658494391994c7b32e8fe5610dae76737e4df?narHash=sha256-2W//PmgocN9lplDJ7WoiP9EcrfUxqvtxplCAqlwvquY%3D' (2024-10-29)
→ 'github:hercules-ci/hercules-ci-effects/b89ac4d66d618b915b1f0a408e2775fe3821d141?narHash=sha256-mnynlrPeiW0nUQ8KGZHb3WyxAxA3Ye/BH8gMjdoKP6E%3D' (2024-11-06)
• Updated input 'pre-commit-hooks-nix':
'github:cachix/pre-commit-hooks.nix/af8a16fe5c264f5e9e18bcee2859b40a656876cf?narHash=sha256-W1MIJpADXQCgosJZT8qBYLRuZls2KSiKdpnTVdKBuvU%3D' (2024-10-30)
→ 'github:cachix/pre-commit-hooks.nix/3308484d1a443fc5bc92012435d79e80458fe43c?narHash=sha256-mnTbjpdqF0luOkou8ZFi2asa1N3AA2CchR/RqCNmsGE%3D' (2024-11-19)
• Updated input 'pre-commit-hooks-nix/nixpkgs-stable':
'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7?narHash=sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo%3D' (2024-07-07)
→ 'github:NixOS/nixpkgs/d063c1dd113c91ab27959ba540c0d9753409edf3?narHash=sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo%3D' (2024-11-04)
(cherry picked from commit 7529f8878378da938fb79a42f8f61c2a4c9537c4)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
9186def735
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nix-cargo-integration':
'github:yusdacra/nix-cargo-integration/5230dddd1afff06cca6ae3780dec1bf709b528cc?narHash=sha256-KfanwS52gty87OZFWD84cLVJO6TV7lk0YtOZj5pgJWs%3D' (2025-09-29)
→ 'github:yusdacra/nix-cargo-integration/413617712f5189397cdf602485f89bf2b0a0e4af?narHash=sha256-g7TCUozMeW3q5Uc%2BwmZI64yzFucQ3SYlZQepo7prarA%3D' (2024-12-01)
• Updated input 'nix-cargo-integration/dream2nix':
'github:nix-community/dream2nix/fbec3263cb4895ac86ee9506cdc4e6919a1a2214?narHash=sha256-nrDovydywSKRbWim9Ynmgj8SBm8LK3DI2WuhIqzOHYI%3D' (2025-08-12)
→ 'github:nix-community/dream2nix/a8dac99db44307fdecead13a39c584b97812d0d4?narHash=sha256-ViyEMSYwaza6y55XTDrsRi2K4YKCLsefMTorjWSE27s%3D' (2024-11-21)
• Updated input 'nix-cargo-integration/dream2nix/pyproject-nix':
'github:pyproject-nix/pyproject.nix/16ee295c25107a94e59a7fc7f2e5322851781162?narHash=sha256-luVj97hIMpCbwhx3hWiRwjP2YvljWy8FM%2B4W9njDhLA%3D' (2025-07-14)
→ 'github:davhau/pyproject.nix/5a06a2697b228c04dd2f35659b4b659ca74f7aeb?narHash=sha256-hFg5s/hoJFv7tDpiGvEvXP0UfFvFEDgTdyHIjDVHu1I%3D' (2023-12-13)
• Removed input 'nix-cargo-integration/dream2nix/pyproject-nix/nixpkgs'
• Updated input 'nix-cargo-integration/parts':
'github:hercules-ci/flake-parts/4524271976b625a4a605beefd893f270620fd751?narHash=sha256-%2BuWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw%3D' (2025-09-01)
→ 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/be3b8843a2be2411500f6c052876119485e957a2?narHash=sha256-xm4kEUcV2jk6u15aHazFP4YsMwhq%2BPczA%2BUl/4FDKWI%3D' (2025-09-29)
→ 'github:oxalica/rust-overlay/8e18f10703112e6c33e1c0d8b93e8305f6f0a75c?narHash=sha256-Chv9%2B3zrf1DhdB9JyskjoV0vJbCQEgkVqrU3p4RPLv8%3D' (2024-12-01)
• Updated input 'nix-cargo-integration/treefmt':
'github:numtide/treefmt-nix/5eda4ee8121f97b218f7cc73f5172098d458f1d1?narHash=sha256-ySNJ008muQAds2JemiyrWYbwbG%2BV7S5wg3ZVKGHSFu8%3D' (2025-09-24)
→ 'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
After
• Updated input 'nix':
'github:NixOS/nix/4f50b1d178366e9892f8cd5d894365a51aa3387d?narHash=sha256-SYZXusCn2bdkpcmqZph%2BbsDtSQbByKtw/7wKOy/HD8I%3D' (2024-11-26)
→ 'github:NixOS/nix/64000481168d1da9d2519f055dd1fdee22275c21?narHash=sha256-Ka/uNdaqpTAiVL%2B%2B4MPHg8fG5o1tiJeY6G2t5UiKhd8%3D' (2024-11-29)
• Updated input 'nix-cargo-integration':
'github:yusdacra/nix-cargo-integration/2e51be6bafce8a2c0bd57fc9d10700331b86d027?narHash=sha256-jeCP6rJAhtDqayQtJaUtbVJ7aN0KoKNYfCLEecQc2vo%3D' (2024-11-26)
→ 'github:yusdacra/nix-cargo-integration/413617712f5189397cdf602485f89bf2b0a0e4af?narHash=sha256-g7TCUozMeW3q5Uc%2BwmZI64yzFucQ3SYlZQepo7prarA%3D' (2024-12-01)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/414e748aae5c9e6ca63c5aafffda03e5dad57ceb?narHash=sha256-J2/hxOO1VtBA/u%2Ba%2B9E%2B3iJpWT3xsBdghgYAVfoGCJo%3D' (2024-11-26)
→ 'github:oxalica/rust-overlay/8e18f10703112e6c33e1c0d8b93e8305f6f0a75c?narHash=sha256-Chv9%2B3zrf1DhdB9JyskjoV0vJbCQEgkVqrU3p4RPLv8%3D' (2024-12-01)
• Updated input 'nix-cargo-integration/treefmt':
'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f?narHash=sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw%3D' (2024-11-22)
→ 'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367?narHash=sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w%3D' (2024-11-19)
→ 'github:NixOS/nixpkgs/970e93b9f82e2a0f3675757eb0bfc73297cc6370?narHash=sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE%3D' (2024-11-28)
• Updated input 'nixpkgs-old':
'github:NixOS/nixpkgs/e8c38b73aeb218e27163376a2d617e61a2ad9b59?narHash=sha256-df3dJApLPhd11AlueuoN0Q4fHo/hagP75LlM5K1sz9g%3D' (2024-11-16)
→ 'github:NixOS/nixpkgs/7e1ca67996afd8233d9033edd26e442836cc2ad6?narHash=sha256-8qwPSE2g1othR1u4uP86NXxm6i7E9nHPyJX3m3lx7Q4%3D' (2024-12-01)
(loosely cherry picked from commit 03140e5b6d8bbdecd94821ced2baf6d86781b3b1)
2025-10-04 02:31:16 +02:00
Robert Hensing
1e3cce7742
refact: Resolve some clippy warnings
...
(cherry picked from commit dc4bfaa993eb2d712d53f70551db9ac34b0cda08)
2025-10-04 02:31:16 +02:00
Robert Hensing
12d3d62108
fix: Deduplicate stores to work around nix#11979
...
Fixes tests hanging. Before this commit:
nix build .#packages.x86_64-linux.nixops4-eval-release
See https://github.com/NixOS/nix/issues/11979
(cherry picked from commit 03af71f92488f2ee683565318f24afd3e3c001df)
2025-10-04 02:31:16 +02:00
Robert Hensing
1c0e2cd72f
maint: Unset substituters in nix-expr tests
...
Runs offline, and would only slow things down.
(cherry picked from commit ea3ef1c59a1fe8e380302acc1885877a1ac8e0b6)
2025-10-04 02:31:16 +02:00
Robert Hensing
77c9be2cbf
maint: Fix nix-expr tests by unsetting build hook
...
(cherry picked from commit 52b6cd6b7867dafe0906184e540c5195ba776ae9)
2025-10-04 02:31:16 +02:00
Robert Hensing
d40bbbed88
maint: Update Nix
...
(cherry picked from commit 203f5d519369235097fef2bdaefa6b3d0f5e963b)
2025-10-04 02:31:16 +02:00
Robert Hensing
676120cd6a
doc: Set flake description
...
(cherry picked from commit 6d5f5e5b4cd0f5b5118d619adbeae7bc335c02f3)
2025-10-04 02:31:16 +02:00
Robert Hensing
c5692d0588
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nix-cargo-integration':
'github:yusdacra/nix-cargo-integration/3a8e3bb661db28522aa2d4a55f1fccf9f95ec33e?narHash=sha256-fjwO6Pv3d35F6UErY42hc7zXJr6ek0LhSZlgEu%2BeI04%3D' (2024-08-23)
→ 'github:yusdacra/nix-cargo-integration/d4f92d8c201479762727991bb290da18129b858c?narHash=sha256-87MJq1yxwAcAK/aKSaJ0i4HpaorweyiwRY6kNzsc7v8%3D' (2024-10-24)
• Updated input 'nix-cargo-integration/crane':
'github:ipetkov/crane/d535642bbe6f377077f7c23f0febb78b1463f449?narHash=sha256-xpW3VFUG7yE6UE6Wl0dhqencuENSkV7qpnpe9I8VbPw%3D' (2023-11-05)
→ 'github:ipetkov/crane/5b03654ce046b5167e7b0bccbd8244cb56c16f0e?narHash=sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE%3D' (2024-09-26)
• Updated input 'nix-cargo-integration/dream2nix':
'github:nix-community/dream2nix/3fd4c14d3683baac8d1f94286ae14fe160888b51?narHash=sha256-fFS8aDnfK9Qfm2FLnQ8pqWk8FzvFEv5LvTuZTZLREnc%3D' (2024-08-01)
→ 'github:nix-community/dream2nix/c6935471f7e1a9e190aaa9ac9823dca34e00d92a?narHash=sha256-rhx5SYpIkPu7d%2BrjF9FGGBVxS0BwAEkmYIsJg2a3E20%3D' (2024-10-10)
• Updated input 'nix-cargo-integration/dream2nix/purescript-overlay':
'github:thomashoneyman/purescript-overlay/047c7933abd6da8aa239904422e22d190ce55ead?narHash=sha256-eMjFmsj2G1E0Q5XiibUNgFjTiSz0GxIeSSzzVdoN730%3D' (2023-09-29)
→ 'github:thomashoneyman/purescript-overlay/988b09676c2a0e6a46dfa3589aa6763c90476b8a?narHash=sha256-TIw%2Bsac0NX0FeAneud%2BsQZT%2Bql1G/WEb7/Vb436rUXM%3D' (2024-08-24)
• Added input 'nix-cargo-integration/dream2nix/purescript-overlay/flake-compat':
'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D' (2023-10-04)
• Updated input 'nix-cargo-integration/dream2nix/purescript-overlay/slimlock':
'github:thomashoneyman/slimlock/b5c6cdcaf636ebbebd0a1f32520929394493f1a6?narHash=sha256-Wg0ViDotFWGWqKIQzyYCgayeH8s4U1OZcTiWTQYdAp4%3D' (2023-07-06)
→ 'github:thomashoneyman/slimlock/cf72723f59e2340d24881fd7bf61cb113b4c407c?narHash=sha256-xzkkMv3neJJJ89zo3o2ojp7nFeaZc2G0fYwNXNJRFlo%3D' (2023-07-07)
• Updated input 'nix-cargo-integration/parts':
'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d?narHash=sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC%2Bx4%3D' (2024-08-01)
→ 'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1?narHash=sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0%3D' (2024-10-01)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/a18034322c7703fcfe5d7352a77981ba4a936a61?narHash=sha256-%2BCFDh1FUgyY7q0FiWhKJpHS7LlD3KbiqN5Z4Z%2B4bGmc%3D' (2024-08-23)
→ 'github:oxalica/rust-overlay/29b1275740d9283467b8117499ec8cbb35250584?narHash=sha256-Rb6JUop7NRklg0uzcre%2BA%2BEbrn/ZiQPkm4QdKg6/3pw%3D' (2024-10-24)
• Updated input 'nix-cargo-integration/treefmt':
'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951?narHash=sha256-kKJtaiU5Ou%2Be/0Qs7SICXF22DLx4V/WhG1P6%2Bk4yeOE%3D' (2024-08-22)
→ 'github:numtide/treefmt-nix/aac86347fb5063960eccb19493e0cadcdb4205ca?narHash=sha256-XGOvuIPW1XRfPgHtGYXd5MAmJzZtOuwlfKDgxX5KT3s%3D' (2024-10-22)
(cherry picked from commit 3389f8f935c29ee7aed0f6c3d0015293bac614b8)
2025-10-04 02:31:16 +02:00
Robert Hensing
4eade817b6
refact: Remove gc_registering_current_thread
...
Closes #31
A guard object is more capable, as it can be used in various
control flow and ownership schemes, including async code, but not
that it is not Send.
(cherry picked from commit f9aa5eab2561834c64ef9fe01979a91aee35848f)
2025-10-04 02:31:16 +02:00
Robert Hensing
ad0f5d0240
fix: Remove impl Send for Value for now
...
They're somewhat safe to use on a different thread, but we don't need
to for now. By removing this, we'll be made aware as needed.
(cherry picked from commit 2e953d0a1268e2f19671fdbc9e721fc630ac346b)
2025-10-04 02:31:16 +02:00
Robert Hensing
f177507f88
feat: Add ThreadRegistrationGuard in nix-expr
...
(cherry picked from commit f287122e354535c2ee2f16c930038b19142f522a)
2025-10-04 02:31:16 +02:00
Robert Hensing
b714f46e07
feat: Make nixops4-eval async
...
A step toward handling the arrival of new data (stdin) with priority
over commands, avoiding roundtrips and re-evaluations.
(cherry picked from commit 8a2a5197886025caf35653001f76a4b209d8c9e4)
2025-10-04 02:31:16 +02:00
Robert Hensing
6f358cc1fb
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/af510d4a62d071ea13925ce41c95e3dec816c01d?narHash=sha256-ODYRm8zHfLTH3soTFWE452ydPYz2iTvr9T8ftDMUQ3E%3D' (2024-08-30)
→ 'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a?narHash=sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U%3D' (2024-09-12)
• Updated input 'flake-parts/nixpkgs-lib':
'https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D ' (2024-08-01)
→ 'https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz?narHash=sha256-Ss8QWLXdr2JCBPcYChJhz4xJm%2Bh/xjl4G0c0XlP6a74%3D ' (2024-09-01)
(cherry picked from commit 448b7152c4d44a3d9814fc09252b769006ebd7d6)
2025-10-04 02:31:16 +02:00
Robert Hensing
69d4ccc422
fix: Temporarily revert Nix to recover getFlake
...
https://github.com/NixOS/nix/issues/11399
(cherry picked from commit 0f2ae7d080dda34938517f781b4eb436522e9d65)
2025-10-04 02:31:16 +02:00
Robert Hensing
9213c9a5a0
feat: Make Cargo.toml source locations explicit
...
This allows cargo metadata to operate on it without adding the
source files to the build. (A choice which will save a few rebuilds
of the manual)
(cherry picked from commit 1779295f3e13cc15f8422d52a3753bb927ac8fa7)
2025-10-04 02:31:16 +02:00
Robert Hensing
5355b663c0
refact: Inline new_value_function(), a test helper
...
(cherry picked from commit a354accb952558d30a780eb57fd3161be139db7d)
2025-10-04 02:31:16 +02:00
Robert Hensing
b5f9764c4c
refact: Remove some lazy_static test globals
...
(cherry picked from commit 4f0ce4960ec468679993cc9fd70820f6d0532c09)
2025-10-04 02:31:16 +02:00
Robert Hensing
ee6c04a941
feat: Reintroduce EvalState::new_value_thunk
...
(cherry picked from commit a2c49a524cf76ca2c9a6759d271d58076756ac09)
2025-10-04 02:31:16 +02:00
Robert Hensing
da9bb4c885
cleanup: Remove EvalState::new_value_function
...
It provides not so great values for some of the parameters, and we
don't really need its convenience.
(cherry picked from commit 52b7b58eb7fa96a265883cbf92e3a635735fe360)
2025-10-04 02:31:16 +02:00
Robert Hensing
312c86b811
feat: PrimOp type
...
(cherry picked from commit 67616c4a55b9d98d716384ffc07d3b3880dd76e4)
2025-10-04 02:31:16 +02:00
Robert Hensing
5c43a28cf0
Basic primops support
...
(cherry picked from commit e1be238ad440ad6f73a4f15cb752439b240a0333)
2025-10-04 02:31:16 +02:00
Robert Hensing
eb0595226d
doc: Context
...
(cherry picked from commit 976ecda38530d57b872c20eaeab5d3631076140b)
2025-10-04 02:31:16 +02:00
Robert Hensing
01c9d0b2d3
feat: EvalState.weak_ref()
...
(cherry picked from commit d7a72c82ebfbfbb1b58fa15044b63648b2109260)
2025-10-04 02:31:16 +02:00
Robert Hensing
e0dead151e
feat: Store.weak_ref()
...
(cherry picked from commit 2fdcc5df62a6cea790bea9b867e1b6d044d4a28f)
2025-10-04 02:31:16 +02:00
Robert Hensing
3d5c64c4a6
feat: impl Clone for EvalState
...
(cherry picked from commit f22d9ba23564107480f627a5901a52f044034c98)
2025-10-04 02:31:16 +02:00
Robert Hensing
03f6c63373
feat: impl Clone for Store
...
(cherry picked from commit 90750c3c82ab0a5973de634661c5284c74fc89a8)
2025-10-04 02:31:16 +02:00
Robert Hensing
9cebf1d131
feat: Value::new_borrowed
...
(cherry picked from commit 86e3828250d4de15f9cf49d19222eb382c77f7e2)
2025-10-04 02:31:16 +02:00
Robert Hensing
590a748e82
maint: Update nixpkgs
...
was:
feat: Empty manual
(cherry picked from commit a7de1171105d4609b500e69d42fa1ade5cd6f1f1)
2025-10-04 02:31:16 +02:00
Robert Hensing
bd8ebcbb01
dev: Add hercules-ci-effects dev input
...
(cherry picked from commit 85f10d0410a061f151722042924afc8523869aa7)
2025-10-04 02:31:16 +02:00
Robert Hensing
7918175c24
refact: Move dev-only dependencies into separate lock file
...
(cherry picked from commit ddf306bb9564a43fb42ab4321b390e766254f1c4)
2025-10-04 02:31:16 +02:00
Robert Hensing
271cf09450
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d?narHash=sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC%2Bx4%3D' (2024-08-01)
→ 'github:hercules-ci/flake-parts/af510d4a62d071ea13925ce41c95e3dec816c01d?narHash=sha256-ODYRm8zHfLTH3soTFWE452ydPYz2iTvr9T8ftDMUQ3E%3D' (2024-08-30)
• Updated input 'flake-parts/nixpkgs-lib':
'https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D ' (2024-08-23)
→ 'https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D ' (2024-08-01)
(cherry picked from commit 07998ef498cabbfd3c18b223da0f38f3d82a7e9a)
2025-10-04 02:31:16 +02:00
Robert Hensing
ee1d591e1a
fix: Update for more recent Nix API
...
(cherry picked from commit 55355f03ab86dfa15972681d9a51d333739f6d10)
2025-10-04 02:31:16 +02:00
Robert Hensing
cf6bedde14
flake.nix: Unfollow nixpkgs in flake-parts
...
This may speed up autocompletion since the default lib is a small
path.
(It shouldn't matter, but Nix isn't as lazy as it will be yet, so
here we go.)
(cherry picked from commit 90709ff3c690275dfb6b8fce50cb0282a52e1971)
2025-10-04 02:31:16 +02:00
Robert Hensing
1ed50f009a
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f?narHash=sha256-a0NYyp%2Bh9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg%3D' (2024-02-01)
→ 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d?narHash=sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC%2Bx4%3D' (2024-08-01)
• Updated input 'nix-cargo-integration':
'github:yusdacra/nix-cargo-integration/eddee765f67966646c487f554fc843e8513aad28?narHash=sha256-VixqzHPc4VGd3TVcdTSufrpZ6wequ0a8BGSQOuxaFps%3D' (2024-02-08)
→ 'github:yusdacra/nix-cargo-integration/3a8e3bb661db28522aa2d4a55f1fccf9f95ec33e?narHash=sha256-fjwO6Pv3d35F6UErY42hc7zXJr6ek0LhSZlgEu%2BeI04%3D' (2024-08-23)
• Updated input 'nix-cargo-integration/dream2nix':
'github:nix-community/dream2nix/936208ae7d88a178a0bcf7e6ac21bb6b87f6c8ea?narHash=sha256-tDmoPA3gukJPfjR/pKl6hNcRP7cuEGw6ruoguHS4szo%3D' (2024-02-06)
→ 'github:nix-community/dream2nix/3fd4c14d3683baac8d1f94286ae14fe160888b51?narHash=sha256-fFS8aDnfK9Qfm2FLnQ8pqWk8FzvFEv5LvTuZTZLREnc%3D' (2024-08-01)
• Updated input 'nix-cargo-integration/parts':
'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f?narHash=sha256-a0NYyp%2Bh9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg%3D' (2024-02-01)
→ 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d?narHash=sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC%2Bx4%3D' (2024-08-01)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/dd917bb1b67fc049fd56fe6de70266a9ab74a4aa?narHash=sha256-Nuhi8KEJ2e%2B2nTimSyEIPqN5eh7ECVWd%2BAnPXG6L%2BSY%3D' (2024-02-08)
→ 'github:oxalica/rust-overlay/a18034322c7703fcfe5d7352a77981ba4a936a61?narHash=sha256-%2BCFDh1FUgyY7q0FiWhKJpHS7LlD3KbiqN5Z4Z%2B4bGmc%3D' (2024-08-23)
• Updated input 'nix-cargo-integration/treefmt':
'github:numtide/treefmt-nix/ac599dab59a66304eb511af07b3883114f061b9d?narHash=sha256-qQF0fEkHlnxHcrKIMRzOETnRBksUK048MXkX0SOmxvA%3D' (2024-02-07)
→ 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951?narHash=sha256-kKJtaiU5Ou%2Be/0Qs7SICXF22DLx4V/WhG1P6%2Bk4yeOE%3D' (2024-08-22)
• Updated input 'pre-commit-hooks-nix':
'github:cachix/pre-commit-hooks.nix/e611897ddfdde3ed3eaac4758635d7177ff78673?narHash=sha256-6hOpUiuxuwpXXc/xfJsBUJeqqgGI%2BJMJuLo45aG3cKc%3D' (2024-03-20)
→ 'github:cachix/pre-commit-hooks.nix/6cedaa7c1b4f82a266e5d30f212273e60d62cb0d?narHash=sha256-TuSaYdhOxeaaE9885mFO1lZHHax33GD5A9dczJrGUjw%3D' (2024-08-21)
• Removed input 'pre-commit-hooks-nix/flake-utils'
• Removed input 'pre-commit-hooks-nix/flake-utils/systems'
• Updated input 'pre-commit-hooks-nix/gitignore':
'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5?narHash=sha256-gGPa9qWNc6eCXT/%2BZ5/zMkyYOuRZqeFZBDbopNZQkuY%3D' (2023-12-29)
→ 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394?narHash=sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs%3D' (2024-02-28)
• Updated input 'pre-commit-hooks-nix/nixpkgs-stable':
'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356?narHash=sha256-YWuCrtsty5vVZvu%2B7BchAxmcYzTMfolSPP5io8%2BWYCg%3D' (2024-01-10)
→ 'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7?narHash=sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo%3D' (2024-07-07)
(cherry picked from commit 9621053e6c5af58af8ba5cc9ead42fe987f298b0)
2025-10-04 02:31:16 +02:00