Aaron Andersen
8f6ec2ec5c
Fix path coercion by calling eval_state_builder_load()
...
Without this call, settings from the global Nix configuration are never
loaded, leaving readOnlyMode = true (the default). This prevents Nix
from adding paths to the store during evaluation, causing errors like:
error: path '/some/local/path' does not exist
This fix loads global settings before creating the EvalState, enabling
path coercion for local file references.
2026-01-05 20:59:44 -05:00
hercules-ci[bot]
800418e64b
Merge pull request #34 from nixops4/flake-update
...
`flake.lock`: Update
2026-01-01 02:40:22 +00:00
Hercules CI Effects
1135ff8c75
dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'hercules-ci-effects':
'github:hercules-ci/hercules-ci-effects/b0585849abe7d02a774a853f7952d07bb910fd9e?narHash=sha256-jZi%2B9yKmeTMsJ4ZNqRei/wL16%2BQwYGrCl4EJ3QHfoDU%3D' (2025-11-15)
→ 'github:hercules-ci/hercules-ci-effects/edcbb19948b6caf1700434e369fde6ff9e6a3c93?narHash=sha256-UQhfCggNGDc7eam%2BEittlYmeW89CZVT1KkFIHZWBH7k%3D' (2025-12-15)
• Updated input 'hercules-ci-effects/flake-parts':
'github:hercules-ci/flake-parts/52a2caecc898d0b46b2b905f058ccc5081f842da?narHash=sha256-8oNVE8TrD19ulHinjaqONf9QWCKK%2Bw4url56cdStMpM%3D' (2025-11-12)
→ 'github:hercules-ci/flake-parts/5635c32d666a59ec9a55cab87e898889869f7b71?narHash=sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM%3D' (2025-12-11)
• Updated input 'hercules-ci-effects/nixpkgs':
'github:NixOS/nixpkgs/c5ae371f1a6a7fd27823bc500d9390b38c05fa55?narHash=sha256-4PqRErxfe%2B2toFJFgcRKZ0UI9NSIOJa%2B7RXVtBhy4KE%3D' (2025-11-12)
→ 'github:NixOS/nixpkgs/2fbfb1d73d239d2402a8fe03963e37aab15abe8b?narHash=sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0%3D' (2025-12-11)
• Updated input 'pre-commit-hooks-nix':
'github:cachix/pre-commit-hooks.nix/548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c?narHash=sha256-rhSqPNxDVow7OQKi4qS5H8Au0P4S3AYbawBSmJNUtBQ%3D' (2025-12-06)
→ 'github:cachix/pre-commit-hooks.nix/b68b780b69702a090c8bb1b973bab13756cc7a27?narHash=sha256-t3T/xm8zstHRLx%2BpIHxVpQTiySbKqcQbK%2Br%2B01XVKc0%3D' (2025-12-16)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4?narHash=sha256-AlEObg0syDl%2BSpi4LsZIBrjw%2BsnSVU4T8MOeuZJUJjM%3D' (2025-11-12)
→ 'github:numtide/treefmt-nix/dec15f37015ac2e774c84d0952d57fcdf169b54d?narHash=sha256-yOt/FTB7oSEKQH9EZMFMeuldK1HGpQs2eAzdS9hNS/o%3D' (2025-12-30)
2026-01-01 02:32:59 +00:00
Hercules CI Effects
eb056b27d9
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/2cccadc7357c0ba201788ae99c4dfa90728ef5e0?narHash=sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q%3D' (2025-11-21)
→ 'github:hercules-ci/flake-parts/a34fae9c08a15ad73f295041fec82323541400a9?narHash=sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw%3D' (2025-12-15)
• Updated input 'flake-parts/nixpkgs-lib':
'github:nix-community/nixpkgs.lib/719359f4562934ae99f5443f20aa06c2ffff91fc?narHash=sha256-b0yj6kfvO8ApcSE%2BQmA6mUfu8IYG6/uU28OFn4PaC8M%3D' (2025-10-29)
→ 'github:nix-community/nixpkgs.lib/2075416fcb47225d9b68ac469a5c4801a9c4dd85?narHash=sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo%3D' (2025-12-14)
• Updated input 'nix':
'github:NixOS/nix/a38fc659cc4f318a45df5b61ec21745ba972f5e6?narHash=sha256-w2sPb/1UH3q5HJambT0CkdUhOxY30MHB2gPI6hStGG8%3D' (2025-12-16)
→ 'github:NixOS/nix/843395a2c87c9b0f0eb9b39bd8567c77cdabcc4e?narHash=sha256-%2BrJcHQE8yjZTR/PZpHr3eya6/Dt1DoGe/9cRoPXTI3k%3D' (2025-12-31)
• Updated input 'nix-cargo-integration':
'github:90-008/nix-cargo-integration/f5b7a1543357cd2071cc847a9ae378328d7caa57?narHash=sha256-Rngkpanmds2XYIpFav634N2EJnmCVGlT4j04rd/XCLE%3D' (2025-12-13)
→ 'github:90-008/nix-cargo-integration/525ccaf24a3e3b5d28a4dbec8a9c4e1ca759db8e?narHash=sha256-5hrqsS9pnPl1ptnJVtEUkUcbr9feYH8OG14pKRnbG2U%3D' (2025-12-31)
• Updated input 'nix-cargo-integration/dream2nix':
'github:nix-community/dream2nix/343053a4dfa53ce8abfc35e918cd4ab990abc58d?narHash=sha256-nZjNYEvNKZRF0%2BkoTN2azGWbGlsvLNUTF6PcC0eqTa4%3D' (2025-12-11)
→ 'github:nix-community/dream2nix/69eb01fa0995e1e90add49d8ca5bcba213b0416f?narHash=sha256-5FBZbbWR1Csp3Y2icfRkxMJw/a/5FGg8hCXej2//bbI%3D' (2025-12-17)
• Updated input 'nix-cargo-integration/parts':
'github:hercules-ci/flake-parts/5635c32d666a59ec9a55cab87e898889869f7b71?narHash=sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM%3D' (2025-12-11)
→ 'github:hercules-ci/flake-parts/a34fae9c08a15ad73f295041fec82323541400a9?narHash=sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw%3D' (2025-12-15)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/348b94ed9ddffccdf1a65582a2dcff0a4a3eeeb4?narHash=sha256-qbl874bCIy9%2BOLImdfBfZ9ITUDDjjTAB04Dk4PlZFV0%3D' (2025-12-13)
→ 'github:oxalica/rust-overlay/6d14586a5917a1ec7f045ac97e6d00c68ea5d9f3?narHash=sha256-TjfAb58Ybz/93e2jP0qD846dj%2BVqiY7wk%2BEqsxcZ708%3D' (2025-12-31)
• Updated input 'nix-cargo-integration/treefmt':
'github:numtide/treefmt-nix/5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4?narHash=sha256-AlEObg0syDl%2BSpi4LsZIBrjw%2BsnSVU4T8MOeuZJUJjM%3D' (2025-11-12)
→ 'github:numtide/treefmt-nix/dec15f37015ac2e774c84d0952d57fcdf169b54d?narHash=sha256-yOt/FTB7oSEKQH9EZMFMeuldK1HGpQs2eAzdS9hNS/o%3D' (2025-12-30)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/addf7cf5f383a3101ecfba091b98d0a1263dc9b8?narHash=sha256-hM20uyap1a0M9d344I692r%2Bik4gTMyj60cQWO%2BhAYP8%3D' (2025-12-08)
→ 'github:NixOS/nixpkgs/c0b0e0fddf73fd517c3471e546c0df87a42d53f4?narHash=sha256-coBu0ONtFzlwwVBzmjacUQwj3G%2BlybcZ1oeNSQkgC0M%3D' (2025-12-28)
2026-01-01 02:32:56 +00:00
Robert Hensing
3b9ee17d54
Merge pull request #33 from nixops4/no-clippy-for-dependents
...
Exclude clippy checks from flake module for dependents
2025-12-28 18:21:53 +01:00
Robert Hensing
424e23f9dc
Exclude clippy checks from flake module for dependents
...
Dependents don't need to run clippy on nix-bindings-rust code; that's
handled by this repo's own CI. The flake module provides build/test
checks for dependents, not linting.
This partially reverts 351a206 .
2025-12-28 18:19:58 +01:00
John Ericson
87b82abb82
Merge pull request #29 from nixops4/readme
...
Update readme
2025-12-15 22:27:10 -05:00
Robert Hensing
edf4d62a08
Merge pull request #32 from nixops4/avoid-workspace-references
...
Dereference workspace lints for nix-cargo-integration compatibility
2025-12-16 03:13:27 +01:00
Robert Hensing
3a6449d079
Merge pull request #31 from nixops4/newer-nix
...
Bump Nix
2025-12-16 03:13:07 +01:00
Robert Hensing
b78dd97051
Dereference workspace lints for nix-cargo-integration compatibility
...
Replace `[lints] workspace = true` with explicit lint configuration in
each crate's Cargo.toml. This allows nix-cargo-integration to build
individual crates in isolation, as it cannot resolve workspace-level
lint configuration when building crates independently.
2025-12-16 03:06:58 +01:00
John Ericson
e9fa877e85
Bump Nix
2025-12-15 21:04:04 -05:00
Robert Hensing
c4afb037ff
Merge pull request #30 from nixops4/clippy-ci
...
Fix clippy and track in CI
2025-12-16 02:08:00 +01:00
Robert Hensing
278a1379e2
Document safety requirements for __private functions
...
The previous "See underlying function" text didn't provide a way to
find the underlying function, forcing users to search the codebase.
Stating the safety contracts explicitly makes the API usable.
2025-12-16 02:05:44 +01:00
Robert Hensing
a02c057666
doc: Update README
2025-12-16 01:48:56 +01:00
John Ericson
351a206776
Fix clippy and track in CI
...
`flake check` will run clippy.
2025-12-15 19:48:45 -05:00
Robert Hensing
9c215f2d4b
maint: nci has changed owners
2025-12-16 01:48:19 +01:00
Robert Hensing
654addc555
Merge pull request #28 from nixops4/better-conditional-compilation-and-maintenance
...
Better conditional compilation and some dev maintenance
2025-12-09 23:11:12 +01:00
Robert Hensing
41a71b8e34
dev: Adjust shell
...
- pre-commit shellHook doesn't add itself to PATH anymore
- rust shellHook from module is now picked up by inputsFrom iiuc
- add treefmt wrapper
2025-12-09 23:02:42 +01:00
Robert Hensing
1bb495190a
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nix':
'github:NixOS/nix/525755dadc153c68e5ada8d287ab19af26383fff?narHash=sha256-oMSKV0NFQpfwYQ4wcIIDuH%2B0AwCQl%2BbYRgPznx38i8k%3D' (2025-12-06)
→ 'github:NixOS/nix/7448aedd74e28174bfa33aad0d148c0070c86dfb?narHash=sha256-/Rr90FVpncaSWprG6%2B4t5VXHgDKDvFitzJPpdZgo%2B8I%3D' (2025-12-09)
• Updated input 'nix-cargo-integration':
'github:yusdacra/nix-cargo-integration/0feff946314851edc88b9c783ad7d2dccd49abcc?narHash=sha256-S5k0HAxjq2sbf5BC5DOly66joE08HfiyEJD8v2U3yLc%3D' (2025-12-06)
→ 'github:yusdacra/nix-cargo-integration/92639295bbe953e4c8c32cbffa32dcb0a441118b?narHash=sha256-Ll29VFrT%2BVpnP4HG5LiL33IXuiz6cF2WfTwXONwMj7E%3D' (2025-12-09)
• Updated input 'nix-cargo-integration/dream2nix':
'github:nix-community/dream2nix/ee20942e4524d3458a91108716c847a2d4299d2e?narHash=sha256-4OlkDA0yJyqt5iTX9NqtHNghvkWNzYqmtX7FxDmEXt4%3D' (2025-11-24)
→ 'github:nix-community/dream2nix/83c430ce6b6aedf149c5259f066bfff808722dbd?narHash=sha256-duTz4J4NP1edl/ZBdwZPduPM8j6g0yzjb8YH91T9vU0%3D' (2025-12-08)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/086fd19a68e80fcc8a298e9df4674982e4c498a6?narHash=sha256-FIJtt3Zil89/hLy9i7f0R2xXcJDPc3CeqiiCLfsFV0Y%3D' (2025-12-06)
→ 'github:oxalica/rust-overlay/7b50ad68415ae5be7ee4cc68fa570c420741b644?narHash=sha256-ngar%2ByP06x3%2B2k2Iey29uU0DWx5ur06h3iPBQXlU%2ByI%3D' (2025-12-09)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f61125a668a320878494449750330ca58b78c557?narHash=sha256-BmPWzogsG2GsXZtlT%2BMTcAWeDK5hkbGRZTeZNW42fwA%3D' (2025-12-05)
→ 'github:NixOS/nixpkgs/addf7cf5f383a3101ecfba091b98d0a1263dc9b8?narHash=sha256-hM20uyap1a0M9d344I692r%2Bik4gTMyj60cQWO%2BhAYP8%3D' (2025-12-08)
2025-12-09 23:02:32 +01:00
Robert Hensing
53641a179b
feat: Enable Nix 2.33 APIs for pre-release testing/validation
...
Pre-release versions (2.33.0pre) now enable 2.33 APIs, allowing development
and integration testing before the stable release. Tests remain disabled for
2.33 until stable to avoid blocking on unrelated pre-release issues.
2025-12-09 23:02:24 +01:00
Robert Hensing
00fafd48ec
Merge pull request #18 from numinit/shell-hook
...
flake: Add shellHook to mkDerivation
2025-12-09 19:05:51 +01:00
hercules-ci[bot]
5055f171ed
Merge pull request #17 from nixops4/flake-update
...
`flake.lock`: Update
2025-12-06 20:12:55 +00:00
John Ericson
92161f300a
dev/flake.lock: Update
...
Flake lock file updates:
• Updated input 'hercules-ci-effects':
'github:hercules-ci/hercules-ci-effects/99e03e72e3f7e13506f80ef9ebaedccb929d84d0?narHash=sha256-AavrbMltJKcC2Fx0lfJoZfmy7g87ebXU0ddVenhajLA%3D' (2025-08-15)
→ 'github:hercules-ci/hercules-ci-effects/b0585849abe7d02a774a853f7952d07bb910fd9e?narHash=sha256-jZi%2B9yKmeTMsJ4ZNqRei/wL16%2BQwYGrCl4EJ3QHfoDU%3D' (2025-11-15)
• Updated input 'hercules-ci-effects/flake-parts':
'github:hercules-ci/flake-parts/af66ad14b28a127c5c0f3bbb298218fc63528a18?narHash=sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8%3D' (2025-08-06)
→ 'github:hercules-ci/flake-parts/52a2caecc898d0b46b2b905f058ccc5081f842da?narHash=sha256-8oNVE8TrD19ulHinjaqONf9QWCKK%2Bw4url56cdStMpM%3D' (2025-11-12)
• Updated input 'hercules-ci-effects/nixpkgs':
'github:NixOS/nixpkgs/005433b926e16227259a1843015b5b2b7f7d1fc3?narHash=sha256-IVft239Bc8p8Dtvf7UAACMG5P3ZV%2B3/aO28gXpGtMXI%3D' (2025-08-12)
→ 'github:NixOS/nixpkgs/c5ae371f1a6a7fd27823bc500d9390b38c05fa55?narHash=sha256-4PqRErxfe%2B2toFJFgcRKZ0UI9NSIOJa%2B7RXVtBhy4KE%3D' (2025-11-12)
• Updated input 'pre-commit-hooks-nix':
'github:cachix/pre-commit-hooks.nix/e891a93b193fcaf2fc8012d890dc7f0befe86ec2?narHash=sha256-RF7j6C1TmSTK9tYWO6CdEMtg6XZaUKcvZwOCD2SICZs%3D' (2025-08-23)
→ 'github:cachix/pre-commit-hooks.nix/548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c?narHash=sha256-rhSqPNxDVow7OQKi4qS5H8Au0P4S3AYbawBSmJNUtBQ%3D' (2025-12-06)
• Updated input 'pre-commit-hooks-nix/flake-compat':
'github:edolstra/flake-compat/9100a0f413b0c601e0533d1d94ffd501ce2e7885?narHash=sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX%2BfjA8Xf8PUmqCY%3D' (2025-05-12)
→ 'github:edolstra/flake-compat/f387cd2afec9419c8ee37694406ca490c3f34ee5?narHash=sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4%3D' (2025-10-27)
2025-12-06 15:10:49 -05:00
John Ericson
a04e903a7d
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/4524271976b625a4a605beefd893f270620fd751?narHash=sha256-%2BuWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw%3D' (2025-09-01)
→ 'github:hercules-ci/flake-parts/2cccadc7357c0ba201788ae99c4dfa90728ef5e0?narHash=sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q%3D' (2025-11-21)
• Updated input 'flake-parts/nixpkgs-lib':
'github:nix-community/nixpkgs.lib/a73b9c743612e4244d865a2fdee11865283c04e6?narHash=sha256-x2rJ%2BOvzq0sCMpgfgGaaqgBSwY%2BLST%2BWbZ6TytnT9Rk%3D' (2025-08-10)
→ 'github:nix-community/nixpkgs.lib/719359f4562934ae99f5443f20aa06c2ffff91fc?narHash=sha256-b0yj6kfvO8ApcSE%2BQmA6mUfu8IYG6/uU28OFn4PaC8M%3D' (2025-10-29)
• Updated input 'nix':
'github:NixOS/nix/5f42e5ebb797433e3db3cfbc81f9cc3139903636?narHash=sha256-esRP6gaYG8d3gLkfr306HBgWYe2jEfHIJq6A1W/pdYw%3D' (2025-12-05)
→ 'github:NixOS/nix/525755dadc153c68e5ada8d287ab19af26383fff?narHash=sha256-oMSKV0NFQpfwYQ4wcIIDuH%2B0AwCQl%2BbYRgPznx38i8k%3D' (2025-12-06)
• Updated input 'nix-cargo-integration':
'github:yusdacra/nix-cargo-integration/529758e12981b62d6977a7bc61c86e19c3e11594?narHash=sha256-v3MasfpOtYUV4MzG5JGRS4JIo3lccjBzH9qZi7zQzSM%3D' (2025-09-01)
→ 'github:yusdacra/nix-cargo-integration/0feff946314851edc88b9c783ad7d2dccd49abcc?narHash=sha256-S5k0HAxjq2sbf5BC5DOly66joE08HfiyEJD8v2U3yLc%3D' (2025-12-06)
• Updated input 'nix-cargo-integration/crane':
'github:ipetkov/crane/5b03654ce046b5167e7b0bccbd8244cb56c16f0e?narHash=sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE%3D' (2024-09-26)
→ 'github:ipetkov/crane/95d528a5f54eaba0d12102249ce42f4d01f4e364?narHash=sha256-NU5WaEdfwF6i8faJ2Yh%2BjcK9vVFrofLcwlD/mP65JrI%3D' (2025-09-25)
• Updated input 'nix-cargo-integration/dream2nix':
'github:nix-community/dream2nix/fbec3263cb4895ac86ee9506cdc4e6919a1a2214?narHash=sha256-nrDovydywSKRbWim9Ynmgj8SBm8LK3DI2WuhIqzOHYI%3D' (2025-08-12)
→ 'github:nix-community/dream2nix/ee20942e4524d3458a91108716c847a2d4299d2e?narHash=sha256-4OlkDA0yJyqt5iTX9NqtHNghvkWNzYqmtX7FxDmEXt4%3D' (2025-11-24)
• Updated input 'nix-cargo-integration/mk-naked-shell':
'github:yusdacra/mk-naked-shell/7612f828dd6f22b7fb332cc69440e839d7ffe6bd?narHash=sha256-3XlJrwlR0nBiREnuogoa5i1b4%2Bw/XPe0z8bbrJASw0g%3D' (2023-04-12)
→ 'github:90-008/mk-naked-shell/7612f828dd6f22b7fb332cc69440e839d7ffe6bd?narHash=sha256-3XlJrwlR0nBiREnuogoa5i1b4%2Bw/XPe0z8bbrJASw0g%3D' (2023-04-12)
• Updated input 'nix-cargo-integration/parts':
'github:hercules-ci/flake-parts/af66ad14b28a127c5c0f3bbb298218fc63528a18?narHash=sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8%3D' (2025-08-06)
→ 'github:hercules-ci/flake-parts/2cccadc7357c0ba201788ae99c4dfa90728ef5e0?narHash=sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q%3D' (2025-11-21)
• Updated input 'nix-cargo-integration/rust-overlay':
'github:oxalica/rust-overlay/b29e5365120f344fe7161f14fc9e272fcc41ee56?narHash=sha256-z/Iy4qvcMqzhA2IAAg71Sw4BrMwbBHvCS90ZoPLsnIk%3D' (2025-09-01)
→ 'github:oxalica/rust-overlay/086fd19a68e80fcc8a298e9df4674982e4c498a6?narHash=sha256-FIJtt3Zil89/hLy9i7f0R2xXcJDPc3CeqiiCLfsFV0Y%3D' (2025-12-06)
• Updated input 'nix-cargo-integration/treefmt':
'github:numtide/treefmt-nix/1aabc6c05ccbcbf4a635fb7a90400e44282f61c4?narHash=sha256-F1oFfV51AE259I85av%2BMAia221XwMHCOtZCMcZLK2Jk%3D' (2025-08-31)
→ 'github:numtide/treefmt-nix/5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4?narHash=sha256-AlEObg0syDl%2BSpi4LsZIBrjw%2BsnSVU4T8MOeuZJUJjM%3D' (2025-11-12)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d7600c775f877cd87b4f5a831c28aa94137377aa?narHash=sha256-tlOn88coG5fzdyqz6R93SQL5Gpq%2Bm/DsWpekNFhqPQk%3D' (2025-08-30)
→ 'github:NixOS/nixpkgs/f61125a668a320878494449750330ca58b78c557?narHash=sha256-BmPWzogsG2GsXZtlT%2BMTcAWeDK5hkbGRZTeZNW42fwA%3D' (2025-12-05)
2025-12-06 15:10:49 -05:00
John Ericson
d496ee3539
Work around dead code analysis bug
...
Some tool forgot that `builtins.functionArgs` makes removing seemingly
unused arguments with `@` patterns fraught.
2025-12-06 15:10:49 -05:00
Morgan Jones
388dc735b9
flake: Add shellHook to mkDerivation
...
Otherwise, we don't run the bindgen script while entering a devShell.
2025-12-06 14:00:26 -05:00
John Ericson
06f9260d31
Merge pull request #26 from nixops4/fix/aarch64
...
fix(nix-bindings-rust): fix aarch64 abi support
2025-12-06 13:59:28 -05:00
Tristan Ross
46656f6056
fix(nix-bindings-rust): fix aarch64 abi support
2025-12-06 13:58:00 -05:00
John Ericson
17f0e655fd
Merge pull request #25 from nixops4/clone
...
Clone
2025-12-06 13:45:46 -05:00
John Ericson
07058ecfe2
Clone for Derivation
...
And `as_ptr` too.
This will be tested once we get the harmonia bindings in.
2025-12-06 13:42:24 -05:00
John Ericson
5cf732957c
Clone for StorePath
...
This will be tested once we get the harmonia bindings in.
2025-12-06 13:42:12 -05:00
Robert Hensing
f24b749c4a
Merge pull request #24 from nixops4/treefmt
...
Format, and keep formatted
2025-12-06 12:17:49 +01:00
Robert Hensing
4a1889fb0c
maint: Move treefmt to dev partition
...
Moves treefmt-nix input and configuration from the main flake to the
dev partition, since it's a development-only dependency. Also switches
pre-commit hooks from individual formatter hooks to the unified treefmt
hook for better consistency.
2025-12-06 12:04:26 +01:00
Robert Hensing
d83eb579f8
Merge pull request #23 from nixops4/newer-nix
...
Update to latest Nix master
2025-12-06 11:47:31 +01:00
John Ericson
cfda626614
Format, and keep formatted
2025-12-05 16:55:09 -05:00
John Ericson
369e679594
Update to latest Nix master
2025-12-05 16:34:56 -05:00
Robert Hensing
7a187fda7a
Merge pull request #16 from nixops4/downstream-settings
...
Add module for downstream setup
2025-10-27 15:08:15 +01:00
Robert Hensing
ae7709def8
doc: Render declarations without the deferredModule indirection
...
deferredModule sets a fake `file` with "via option ...", which
interferes with rendering on flake.parts.
2025-10-27 14:59:29 +01:00
Robert Hensing
db84b15d8f
maint: Fix warnings
2025-10-27 14:52:48 +01:00
Robert Hensing
26b7cb2116
feat: Expose module for setting up the build and test environment.
2025-10-27 14:52:48 +01:00
Robert Hensing
62d4eb37a2
Merge pull request #15 from nixops4/move-to-root
...
maint: Move to /rust/* to /
2025-10-26 23:33:49 +01:00
Robert Hensing
55eacf43c3
maint: Move to /rust/* to /
...
This makes it easier for tooling to find the Rust stuff.
Rust/non-rust is not a useful distinction in this repo anymore anyway.
2025-10-26 23:29:13 +01:00
Robert Hensing
8c64b5e380
Merge pull request #12 from nixops4/fs-closure
...
feat: Store::get_fs_closure
2025-10-26 23:20:33 +01:00
Robert Hensing
510ba4abe2
fix: Uncrash the tests by keeping fetchers_settings around
...
This is arguably a partial fix.
This should either be modeled with lifetimes, or be addressed in
Nix itself.
2025-10-26 23:07:31 +01:00
Robert Hensing
18da552952
fix: Pre-enable ca-derivations in tests
...
This way we don't run into any race conditions when individual tests
enable the feature.
Specifically this affects the initialization of our default store for
testing.
The test suite *should* not be all that sensitive to the environment,
but that's some future work to make sure.
2025-10-23 19:42:28 +02:00
Robert Hensing
220ff29bcc
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nix':
'github:NixOS/nix/ab095c029c7deef98b99c5249c09fe9a8a095800?narHash=sha256-JpSWFjOgPWeWb5bb%2BHMMGR%2BQ0dOH7nl2t4WgyBVaWx8%3D' (2025-09-01)
→ 'github:NixOS/nix/7e8db2eb59d8798047e8cc025a3eb18613a8918c?narHash=sha256-R6uBB3fef75wVM1OjiM0uYLLf2P5eTCWHPCQAbCaGzA%3D' (2025-10-21)
2025-10-21 23:21:25 +02:00
Robert Hensing
01443c7f69
maint: Add version bound to new additions
2025-10-21 23:18:33 +02:00
Robert Hensing
03c0dac5b3
test: Test and document Store::get_fs_closure
2025-10-21 23:02:37 +02:00
Robert Hensing
da869e998c
feat: Store::realise, Store::add_derivation, Store::derivation_from_json
2025-10-21 23:02:37 +02:00
Robert Hensing
2d210260f9
maint: Remove unintentional addition
2025-10-21 23:02:37 +02:00