1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-17 22:41:08 +01:00
nix/src
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
..
external-api-docs doc: Improve libexpr-c docs 2025-10-28 17:57:15 +01:00
internal-api-docs meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
json-schema-checks Better JSON schema for derivation outputs 2025-10-30 17:05:00 -04:00
kaitai-struct-checks Add documentation for NAR spec in kaitai 2025-11-03 12:59:16 -05:00
libcmd Factor out --no-check-sigs 2025-10-16 16:35:09 +02:00
libexpr parser.y: abstract new into a function on Exprs 2025-11-04 23:59:45 +01:00
libexpr-c Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libexpr-test-support Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libexpr-tests Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libfetchers Relegate toRealPath to LocalFSStore 2025-11-05 10:44:25 -05:00
libfetchers-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libfetchers-tests libfetchers/git-utils: Be more correct about validating refnames 2025-10-15 21:54:09 +03:00
libflake Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libflake-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libflake-tests libfetchers: Restore plain git inputs recognition 2025-10-31 22:42:43 +03:00
libmain treewide: replace manual MiB calculations with renderSize 2025-10-27 16:04:19 +01:00
libmain-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libstore Relegate toRealPath to LocalFSStore 2025-11-05 10:44:25 -05:00
libstore-c Relegate toRealPath to LocalFSStore 2025-11-05 10:44:25 -05:00
libstore-test-support meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libstore-tests Merge pull request #14246 from obsidiansystems/dummy-store-derivations-separately 2025-11-03 17:29:28 +00:00
libutil ThreadPool::enqueue(): Use move semantics 2025-11-03 17:39:18 +01:00
libutil-c Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libutil-test-support Allow for standard nlohmann JSON serializers to take separate XP features 2025-10-16 16:45:22 -04:00
libutil-tests diff-closures: print sizes with dynamic unit 2025-10-27 02:05:03 +01:00
nix Relegate toRealPath to LocalFSStore 2025-11-05 10:44:25 -05:00
perl Convert Realisation JSON logic to standard style 2025-09-22 12:59:37 -04:00
nix-functional-tests Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
nix-manual Build the manual with Meson 2024-10-09 11:58:17 -04:00