1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 17:59:36 +01:00
nix/src/libstore/build
John Ericson 099af7578f Relegate toRealPath to LocalFSStore
Fix #14480

This method is not well-defined for arbitrary stores, which do not have
a notion of a "real path" -- it is only well-defined for local file
systems stores, which do have exactly that notion, and so it is moved to
that sub-interface instead.

Some call-sites had to be fixed up for this, but in all cases the
changes are positive. Using `getFSSourceAccessor` allows for more other
stores to work properly. `nix-channel` was straight-up wrong in the case
of redirected local stores. And the building logic with remote building
and a non-local store is also fixed, properly gating some deletions on
store type.

Co-authored-by: Robert Hensing <robert@roberthensing.nl>
2025-11-05 10:44:25 -05:00
..
derivation-builder.cc Consolidate logic choosing where we can/should build a bit 2025-10-10 17:28:57 -04:00
derivation-building-goal.cc Relegate toRealPath to LocalFSStore 2025-11-05 10:44:25 -05:00
derivation-check.cc clang-tidy fix for src/libstore/build/derivation-check.cc 2025-10-05 11:18:30 -07:00
derivation-check.hh Merge pull request #13858 from obsidiansystems/no-more-defered-exception 2025-09-01 20:11:51 +02:00
derivation-env-desugar.cc Use types to show that structured attrs are always JSON objects 2025-10-26 12:53:58 -04:00
derivation-goal.cc Improve "resolution failed" error 2025-11-02 14:03:27 +01:00
derivation-resolution-goal.cc Split out DerivationResolutionGoal 2025-10-11 19:52:37 -04:00
derivation-trampoline-goal.cc Fix ca/eval-store.sh test 2025-10-13 18:41:59 -04:00
drv-output-substitution-goal.cc Inline realisationFetched 2025-10-20 16:45:41 -04:00
entry-points.cc Use std::variant to enforce BuildResult invariants 2025-09-27 15:56:06 -04:00
goal.cc No more globals.hh in headers 2025-08-20 16:24:37 -04:00
substitution-goal.cc Fix misleading error messages for missing NARs due to stale cache 2025-10-22 15:07:42 -05:00
worker.cc Remove unused parameters to DrvOutputSubstitutionGoal 2025-10-15 12:16:52 -04:00