Commit graph

155 commits

Author SHA1 Message Date
Robert Hensing
30bcd71527 feat: nix-flake: Flake overriding
(cherry picked from commit e1fa32fc40f2520aab96fae3bb1700b2242cb548)
2025-10-04 02:31:16 +02:00
Robert Hensing
b77a3a2085 feat: nix-flake: Basic locking
(cherry picked from commit cfd374f9deda7d40229198911516b22bc3d82626)
2025-10-04 02:31:16 +02:00
Robert Hensing
e6b993a42b feat: nix_expr::value::__private
Exposes the Value constructors, for use by other bindings like
nix-flake, which needs to construct e.g. a flake outputs Value.

See https://github.com/nixops4/nixops4/issues/25

> We have two related issues:

> A bunch of implementation details cannot be made private, since they must be used from one of the other crates (e.g. Values are defined in the value module but used from eval_state
> While we don't want users to need to use these features, it may be good to provide escape hatches so they can interface with the raw API if they need more control.
> Problem (1) has been solved in other crates with a __private module with #[doc(hidden)] set. See for instance:

I'm leaving docs turned on for (2). The issue has more thoughts about
alternatives.

(cherry picked from commit eb6744d1519febe5b6aa6233eb3f3e8a049f12d4)
2025-10-04 02:31:16 +02:00
Robert Hensing
bbf245ef1a feat: nix-fetchers crate
(cherry picked from commit 27d572403ac98d83d652481da6c22ad50bb00168)
2025-10-04 02:31:16 +02:00
Robert Hensing
7ae38f296f test: Make sure getFlake exists
(cherry picked from commit 3c1bb4af0009104e836f9110687a1da4e0ee3bb7)
2025-10-04 02:31:16 +02:00
Robert Hensing
3b7a14f62b feat: EvalState.require_bool
(cherry picked from commit e0d451f22cedae383fa2f18809f3494e674371b4)
2025-10-04 02:31:16 +02:00
Robert Hensing
5a6cd50177 maint: Update nix to 2.29pre
(cherry picked from commit 81dee2336145d5fb4f32c95ff0319f1f8fdcfd96)
2025-10-04 02:31:16 +02:00
Robert Hensing
8f7d3d5385 maint: Add EvalStateBuilder.flakes(settings)
(cherry picked from commit ee55ef51a60abc692fdef69614c9a8ccfa9358e0)
2025-10-04 02:31:16 +02:00
Robert Hensing
2cab738e58 feat: EvalStateBuilder
This supports the more "advanced" `nix_eval_state_builder`, which
has more methods that we'll want to use.

(cherry picked from commit a96047000df6b7022d166a8c35bb6e3075e5eddb)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
155b37bd2a flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/3876f6b87db82f33775b1ef5ea343986105db764?narHash=sha256-ZaMw0pdoUKigLpv9HiNDH2Pjnosg7NBYMJlHTIsHEUo%3D' (2025-03-01)
  → 'github:hercules-ci/flake-parts/c621e8422220273271f52058f618c94e405bb0f5?narHash=sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY%3D' (2025-04-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'https://github.com/NixOS/nixpkgs/archive/6d3702243441165a03f699f64416f635220f4f15.tar.gz?narHash=sha256-3wHafybyRfpUCLoE8M%2BuPVZinImg3xX%2BNm6gEfN3G8I%3D' (2025-03-01)
  → 'github:nix-community/nixpkgs.lib/e4822aea2a6d1cdd36653c134cacfd64c97ff4fa?narHash=sha256-b1EdN3cULCqtorQ4QeWgLMrd5ZGOjLSLemfa00heasc%3D' (2025-03-30)
• Updated input 'nix':
    'github:NixOS/nix/77f22db567c3377989b8127fc0b28c948f0559a1?narHash=sha256-I/68odvSD6t2DK6j003f57H5WlKtKkVQfy0P%2BVCKb/w%3D' (2025-02-28)
  → 'github:NixOS/nix/cf409fd250db6e8e07d80b9871bceb5defdaf6e1?narHash=sha256-/YsfAN3uBmP29krurNlLxs3fIdwDSG21kqeKWzQlm9Q%3D' (2025-04-01)
• Updated input 'nix-cargo-integration':
    'github:yusdacra/nix-cargo-integration/d60df90181bf3b9dbbb8d4440f827afb7ad9fe22?narHash=sha256-0jq3H5nsU6leI%2B2pBEtqxqZWopaSrfhkw%2Bq%2BGrtMGtA%3D' (2025-03-01)
  → 'github:yusdacra/nix-cargo-integration/be686c02a3fbad61448abcc2049a9178a4cd903c?narHash=sha256-G4IRYK7vG2kA9Xr1KwXJH1SVc57qNPlQXBl6d/V6LSc%3D' (2025-04-01)
• Updated input 'nix-cargo-integration/parts':
    'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
  → 'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9?narHash=sha256-%2Bu2UunDA4Cl5Fci3m7S643HzKmIDAe%2BfiXrLqYsR2fs%3D' (2025-03-07)
• Updated input 'nix-cargo-integration/rust-overlay':
    'github:oxalica/rust-overlay/bbac9527bc6b28b6330b13043d0e76eac11720dc?narHash=sha256-FuoXrXZPoJEZQ3PF7t85tEpfBVID9JQIOnVKMNfTAb0%3D' (2025-03-01)
  → 'github:oxalica/rust-overlay/bee11c51c2cda3ac57c9e0149d94b86cc1b00d13?narHash=sha256-uLjVsb4Rxnp1zmFdPCDmdODd4RY6ETOeRj0IkC0ij/4%3D' (2025-04-01)
• Updated input 'nix-cargo-integration/treefmt':
    'github:numtide/treefmt-nix/3d0579f5cc93436052d94b73925b48973a104204?narHash=sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU%3D' (2025-02-17)
  → 'github:numtide/treefmt-nix/29a3d7b768c70addce17af0869f6e2bd8f5be4b7?narHash=sha256-WRAylyYptt6OX5eCEBWyTwOEqEtD6zt33rlUkr6u3cE%3D' (2025-03-27)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6313551cd05425cd5b3e63fe47dbc324eabb15e4?narHash=sha256-D%2BR%2BkFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs%3D' (2025-02-27)
  → 'github:NixOS/nixpkgs/52faf482a3889b7619003c0daec593a1912fddc1?narHash=sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om%2BD4UnDhlDW9BE%3D' (2025-03-30)

(cherry picked from commit d229c7e80acee1a7c87eddae7a893bce4078eb30)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
42d6b64ee0 dev/flake.lock: Update
Flake lock file updates:

• Updated input 'hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/6d1b6d5d59758b4f5f05745f774fc13cdc59da43?narHash=sha256-oJN/yvRL7G0WlR/hTkQIjFbPkzCV%2BsFnNB/38Tb9RL4%3D' (2025-01-30)
  → 'github:hercules-ci/hercules-ci-effects/06519cec8fb32d219006da6eacd255504a9996af?narHash=sha256-0CjCfbq0yHWexOrpO06e2WU1r5JAqR6ffy1zgM3NksI%3D' (2025-02-15)
• Updated input 'hercules-ci-effects/flake-parts':
    'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
  → 'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
• Updated input 'hercules-ci-effects/nixpkgs':
    'github:NixOS/nixpkgs/9abb87b552b7f55ac8916b6fc9e5cb486656a2f3?narHash=sha256-qwpCtZhSsSNQtK4xYGzMiyEDhkNzOCz/Vfu4oL2ETsQ%3D' (2025-01-13)
  → 'github:NixOS/nixpkgs/2ff53fe64443980e139eaa286017f53f88336dd0?narHash=sha256-%2B/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc%3D' (2025-02-13)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/9364dc02281ce2d37a1f55b6e51f7c0f65a75f17?narHash=sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg%3D' (2025-01-21)
  → 'github:cachix/pre-commit-hooks.nix/25d4946dfc2021584f5bde1fbd2aa97353384a95?narHash=sha256-LWDIJvKWMW0tiih1jTcAK0ncTi3S9IF3gOhpCT1ydik%3D' (2025-03-01)

(cherry picked from commit cd5f64e9c967f30f90f3df5d58a4dd2b7eb311fb)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
27b4fcb167 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
  → 'github:hercules-ci/flake-parts/3876f6b87db82f33775b1ef5ea343986105db764?narHash=sha256-ZaMw0pdoUKigLpv9HiNDH2Pjnosg7NBYMJlHTIsHEUo%3D' (2025-03-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz?narHash=sha256-vJzFZGaCpnmo7I6i416HaBLpC%2BhvcURh/BQwROcGIp8%3D' (2025-02-01)
  → 'https://github.com/NixOS/nixpkgs/archive/6d3702243441165a03f699f64416f635220f4f15.tar.gz?narHash=sha256-3wHafybyRfpUCLoE8M%2BuPVZinImg3xX%2BNm6gEfN3G8I%3D' (2025-03-01)
• Updated input 'nix':
    'github:NixOS/nix/d949c8de7c7e84bb7537dc772609686c37033a3b?narHash=sha256-3%2BqJBts5RTAtjCExo6bkqrttL%2BskpYZzPOVEzPSwVtc%3D' (2025-02-01)
  → 'github:NixOS/nix/77f22db567c3377989b8127fc0b28c948f0559a1?narHash=sha256-I/68odvSD6t2DK6j003f57H5WlKtKkVQfy0P%2BVCKb/w%3D' (2025-02-28)
• Removed input 'nix/nixfmt'
• Removed input 'nix/nixfmt/flake-utils'
• Removed input 'nix/nixfmt/flake-utils/systems'
• Updated input 'nix-cargo-integration':
    'github:yusdacra/nix-cargo-integration/718d577808e3e31f445b6564d58b755294e72f42?narHash=sha256-o8kg4q1V2xV9ZlszAnizXJK2c%2BfbhAeLbGoTUa2u1Bw%3D' (2025-02-01)
  → 'github:yusdacra/nix-cargo-integration/d60df90181bf3b9dbbb8d4440f827afb7ad9fe22?narHash=sha256-0jq3H5nsU6leI%2B2pBEtqxqZWopaSrfhkw%2Bq%2BGrtMGtA%3D' (2025-03-01)
• Updated input 'nix-cargo-integration/parts':
    'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
  → 'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
• Updated input 'nix-cargo-integration/rust-overlay':
    'github:oxalica/rust-overlay/83284068670d5ae4a43641c4afb150f3446be70d?narHash=sha256-S6ErHxkSm0iA7ZMsjjDaASWxbELYcdfv8BhOkkj1rHw%3D' (2025-02-01)
  → 'github:oxalica/rust-overlay/bbac9527bc6b28b6330b13043d0e76eac11720dc?narHash=sha256-FuoXrXZPoJEZQ3PF7t85tEpfBVID9JQIOnVKMNfTAb0%3D' (2025-03-01)
• Updated input 'nix-cargo-integration/treefmt':
    'github:numtide/treefmt-nix/bebf27d00f7d10ba75332a0541ac43676985dea3?narHash=sha256-j6jC12vCFsTGDmY2u1H12lMr62fnclNjuCtAdF1a4Nk%3D' (2025-01-28)
  → 'github:numtide/treefmt-nix/3d0579f5cc93436052d94b73925b48973a104204?narHash=sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU%3D' (2025-02-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3a228057f5b619feb3186e986dbe76278d707b6e?narHash=sha256-xvTo0Aw0%2Bveek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc%3D' (2025-02-01)
  → 'github:NixOS/nixpkgs/6313551cd05425cd5b3e63fe47dbc324eabb15e4?narHash=sha256-D%2BR%2BkFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs%3D' (2025-02-27)

(cherry picked from commit e01d1ac193a55ee5229f7e09cc5f9eba4c6a0a1c)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
debff217c6 dev/flake.lock: Update
Flake lock file updates:

• Updated input 'hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/f6233b5cfbada692d93a73d6ed35bdbfd0fdb9c4?narHash=sha256-cwk53OX1S1bCFY09zydubZNmmwcx9l5XEba8mVYuNE4%3D' (2025-01-01)
  → 'github:hercules-ci/hercules-ci-effects/6d1b6d5d59758b4f5f05745f774fc13cdc59da43?narHash=sha256-oJN/yvRL7G0WlR/hTkQIjFbPkzCV%2BsFnNB/38Tb9RL4%3D' (2025-01-30)
• Updated input 'hercules-ci-effects/flake-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 'hercules-ci-effects/nixpkgs':
    'github:NixOS/nixpkgs/55d15ad12a74eb7d4646254e13638ad0c4128776?narHash=sha256-M1%2BuCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo%3D' (2024-12-03)
  → 'github:NixOS/nixpkgs/9abb87b552b7f55ac8916b6fc9e5cb486656a2f3?narHash=sha256-qwpCtZhSsSNQtK4xYGzMiyEDhkNzOCz/Vfu4oL2ETsQ%3D' (2025-01-13)
• Updated input 'nix-unit':
    'github:nix-community/nix-unit/6d373fdb344760d9c2e45994420b165b0202556b?narHash=sha256-Zu31IAdl2Hp4bvsuyGkeuBp0igyvVHrmwN6bMfYTsIo%3D' (2024-12-04)
  → 'github:nix-community/nix-unit/d867d72d21da3b7d83f0feef73b0ac7f72b16437?narHash=sha256-stdx1z86yj66bChYswqjRw8BpdJRwxkH2XIJrsygpiM%3D' (2024-12-09)
• Updated input 'nix-unit/flake-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-unit/nix-github-actions':
    'github:nix-community/nix-github-actions/e04df33f62cdcf93d73e9a04142464753a16db67?narHash=sha256-B4mzTcQ0FZHdpeWcpDYPERtyjJd/NIuaQ9%2BBV1h%2BMpA%3D' (2024-10-24)
  → 'github:nix-community/nix-github-actions/7b5f051df789b6b20d259924d349a9ba3319b226?narHash=sha256-p4gB3Rhw8R6Ak4eMl8pqjCPOLCZRqaehZxdZ/mbFClM%3D' (2024-11-18)
• Updated input 'nix-unit/nixpkgs':
    'github:NixOS/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933?narHash=sha256-JwQZIGSYnRNOgDDoIgqKITrPVil%2BRMWHsZH1eE1VGN0%3D' (2024-11-07)
  → 'github:NixOS/nixpkgs/929116e316068c7318c54eb4d827f7d9756d5e9c?narHash=sha256-aLJxoTDDSqB%2B/3orsulE6/qdlX6MzDLIITLZqdgMpqo%3D' (2024-12-05)
• Updated input 'nix-unit/treefmt-nix':
    'github:numtide/treefmt-nix/746901bb8dba96d154b66492a29f5db0693dbfcc?narHash=sha256-vK%2Ba09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/%2BmaI%3D' (2024-10-30)
  → 'github:numtide/treefmt-nix/357cda84af1d74626afb7fb3bc12d6957167cda9?narHash=sha256-9qOp6jNdezzLMxwwXaXZWPXosHbNqno%2Bf7Ii/xftqZ8%3D' (2024-12-08)
• Updated input 'pre-commit-hooks-nix':
    'github:cachix/pre-commit-hooks.nix/f0f0dc4920a903c3e08f5bdb9246bb572fcae498?narHash=sha256-ulZN7ps8nBV31SE%2BdwkDvKIzvN6hroRY8sYOT0w%2BE28%3D' (2024-12-21)
  → 'github:cachix/pre-commit-hooks.nix/9364dc02281ce2d37a1f55b6e51f7c0f65a75f17?narHash=sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg%3D' (2025-01-21)
• Removed input 'pre-commit-hooks-nix/nixpkgs-stable'

(cherry picked from commit a60100276bbf87098487b08389c8260308bb9ad8)
2025-10-04 02:31:16 +02:00
Hercules CI Effects
92fcb45154 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
  → 'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'https://github.com/NixOS/nixpkgs/archive/e9b51731911566bbf7e4895475a87fe06961de0b.tar.gz?narHash=sha256-CewEm1o2eVAnoqb6Ml%2BQi9Gg/EfNAxbRx1lANGVyoLI%3D' (2025-01-01)
  → 'https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz?narHash=sha256-vJzFZGaCpnmo7I6i416HaBLpC%2BhvcURh/BQwROcGIp8%3D' (2025-02-01)
• Updated input 'nix':
    'github:NixOS/nix/5230d3ecc4cd3a3d965902a56b5a21bcc99821c3?narHash=sha256-u6OD0BH%2BUxyfrWMMpBfM5cz/TDWU9lxJOujgzqBnN9A%3D' (2025-01-08)
  → 'github:NixOS/nix/d949c8de7c7e84bb7537dc772609686c37033a3b?narHash=sha256-3%2BqJBts5RTAtjCExo6bkqrttL%2BskpYZzPOVEzPSwVtc%3D' (2025-02-01)
• Added input 'nix/nixfmt':
    'github:NixOS/nixfmt/8d4bd690c247004d90d8554f0b746b1231fe2436?narHash=sha256-hrKhUp2V2fk/dvzTTHFqvtOg000G1e%2BjyIam%2BD4XqhA%3D' (2025-01-07)
• Added input 'nix/nixfmt/flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
• Added input 'nix/nixfmt/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
• Updated input 'nix-cargo-integration':
    'github:yusdacra/nix-cargo-integration/1ce1f666c955e73f65de74f3a8c3ca2c3e5d741b?narHash=sha256-nOWLP6pSblYrCipiBb7/SQpGhNe7AHT8m9f%2B%2Bb8/Ni4%3D' (2025-01-08)
  → 'github:yusdacra/nix-cargo-integration/718d577808e3e31f445b6564d58b755294e72f42?narHash=sha256-o8kg4q1V2xV9ZlszAnizXJK2c%2BfbhAeLbGoTUa2u1Bw%3D' (2025-02-01)
• Updated input 'nix-cargo-integration/rust-overlay':
    'github:oxalica/rust-overlay/a0b81d4fa349d9af1765b0f0b4a899c13776f706?narHash=sha256-IKrk7RL%2BQ/2NC6%2BQl6dwwCNZI6T6JH2grTdJaVWHF0A%3D' (2025-01-08)
  → 'github:oxalica/rust-overlay/83284068670d5ae4a43641c4afb150f3446be70d?narHash=sha256-S6ErHxkSm0iA7ZMsjjDaASWxbELYcdfv8BhOkkj1rHw%3D' (2025-02-01)
• Updated input 'nix-cargo-integration/treefmt':
    'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
  → 'github:numtide/treefmt-nix/bebf27d00f7d10ba75332a0541ac43676985dea3?narHash=sha256-j6jC12vCFsTGDmY2u1H12lMr62fnclNjuCtAdF1a4Nk%3D' (2025-01-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab?narHash=sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk%3D' (2025-01-21)
  → 'github:NixOS/nixpkgs/3a228057f5b619feb3186e986dbe76278d707b6e?narHash=sha256-xvTo0Aw0%2Bveek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc%3D' (2025-02-01)

(cherry picked from commit 26a425f54aeac8e1f29bd13f2fc36a5238105f73)
2025-10-04 02:31:16 +02:00
Robert Hensing
2508facd82 feat: Improve EvalState::require_attrs_select error message
(cherry picked from commit 220b6f4123966d818064f4114477ce8676214b90)
2025-10-04 02:31:16 +02:00
Robert Hensing
895336ac79 License as LGPL-2.1
(cherry picked from commit 1127742e387ef78b91ec1e4cec0bb17b5e85666c)
2025-10-04 02:31:16 +02:00
Robert Hensing
8bf888020d flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04)
  → 'github:NixOS/nixpkgs/9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab?narHash=sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk%3D' (2025-01-21)

(cherry picked from commit 88539274107c9baa5c66f723c87c526117795f56)
2025-10-04 02:31:16 +02:00
Robert Hensing
145a594421 maint: Fix apparently ignored '' in BINDGEN_EXTRA_CLANG_ARGS
(cherry picked from commit a6775b2b6209623f1e8f1cc837462a0804e0ab6e)
2025-10-04 02:31:16 +02:00
Robert Hensing
7149699020 doc: Add aliases
(cherry picked from commit e52e118180d23439d0a7286bb41b8c9202066ad9)
2025-10-04 02:31:16 +02:00
Robert Hensing
cbce27eb64 feat: Support Store::open from environment, not just auto
Note that `"auto"` holds a strange middle ground, reading
part of the general environment, but not all of it. It
ignores `NIX_REMOTE` and the `store` option.

(cherry picked from commit 7ba92a3793c2fe11938e802e6b61edee042b193a)
2025-10-04 02:31:16 +02:00
Robert Hensing
91f9697f61 packaging: Only depend on Nix libs, not CLI
(cherry picked from commit 6eed09254954e23ed0e0365e3101118c550be3c4)
2025-10-04 02:31:16 +02:00
Robert Hensing
122ee75ce3 fix: Darwin compat
(cherry picked from commit 711d95877a039bcd5b162604a22d1c051b59a49d)
2025-10-04 02:31:16 +02:00
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