1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 14:02:42 +01:00
nix/src/libstore
John Ericson 57348b677b Restore dynamic derivations!
This method does *not* create a new type of goal. We instead just make
`DerivationGoal` more sophisticated, which is much easier to do now that
`DerivationBuildingGoal` has been split from it (and so many fields are
gone, or or local variables instead).

This avoids the need for a secondarily trampoline goal that interacted
poorly with `addWantedOutputs`. That, I hope, will mean the bugs from
before do not reappear.

There may in fact be a reason to introduce such a trampoline in the
future, but it would only happen in conjunction with getting rid of
`addWantedOutputs`.

Restores the functionality (and tests) that was reverted in
f4f28cdd0e.
2025-05-21 17:31:41 -04:00
..
build Restore dynamic derivations! 2025-05-21 17:31:41 -04:00
builtins Put the builder context in a struct 2025-05-04 22:14:11 +02:00
include/nix/store Restore dynamic derivations! 2025-05-21 17:31:41 -04:00
linux Keep fchmodat2-compat.hh private 2025-04-07 18:19:42 +02:00
unix Use StringMap instead of std::map<std::string, std::string> throughout the codebase 2025-05-19 20:33:28 +00:00
windows Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
.version Build nix-store with Meson 2024-06-14 10:25:14 -04:00
binary-cache-store.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
build-result.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
ca-specific-schema.sql Rename to "content-address*ing* derivation" 2025-02-10 01:12:56 -05:00
common-protocol.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
common-ssh-store-config.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
content-address.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
daemon.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
derivation-options.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
derivations.cc Test derivation options with content-addressing too 2025-04-14 13:43:46 -04:00
derived-path-map.cc Restore dynamic derivations! 2025-05-21 17:31:41 -04:00
derived-path.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
downstream-placeholder.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
dummy-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
dummy-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
export-import.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
filetransfer.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
gc.cc Merge pull request #13142 from xokdvium/gc-root-boost-regex 2025-05-18 21:44:41 +02:00
globals.cc Add trailing commas on addFlag incantations 2025-04-07 17:18:15 -04:00
http-binary-cache-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
http-binary-cache-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
indirect-root-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
keys.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
legacy-ssh-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
legacy-ssh-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
local-binary-cache-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
local-binary-cache-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
local-fs-store.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
local-overlay-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
local-overlay-store.md docs: Fix miscellaneous typos and formatting issues 2025-05-13 22:20:11 +00:00
local-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
local-store.md Build the local store on Windows 2024-05-10 13:05:23 -04:00
log-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
machines.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
make-content-addressed.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
meson.build Split DerivationGoal in two 2025-05-20 11:54:53 -04:00
meson.options Meson misc things 2024-08-27 10:19:55 -04:00
misc.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
mounted-ssh-store.md MountedSSHStore: stores on shared filesystems 2023-11-21 13:34:01 -05:00
names.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
nar-accessor.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
nar-info-disk-cache.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
nar-info.cc bugfix in getInteger(const nlohmann::json &) and add bounds checks 2025-04-30 01:38:48 +02:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
optimise-store.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
outputs-spec.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
package.nix Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
parsed-derivations.cc Rename shellEscape -> escapeShellArgAlways 2025-04-23 22:56:07 +02:00
path-info.cc bugfix in getInteger(const nlohmann::json &) and add bounds checks 2025-04-30 01:38:48 +02:00
path-references.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
path-with-outputs.cc treewide: Use StringSet alias consistently instead of std::set<std::string> 2025-05-02 17:40:29 +00:00
path.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
pathlocks.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
posix-fs-canonicalise.cc replace all instances of std::filesystem::directory_iterator with DirectoryIterator 2025-05-01 11:54:26 +02:00
profiles.cc replace all instances of std::filesystem::directory_iterator with DirectoryIterator 2025-05-01 11:54:26 +02:00
realisation.cc Use StringMap instead of std::map<std::string, std::string> throughout the codebase 2025-05-19 20:33:28 +00:00
remote-fs-accessor.cc Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00
remote-store.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
restricted-store.cc Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
s3-binary-cache-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
s3-binary-cache-store.md fix location 2024-09-27 11:07:04 +02:00
schema.sql Build the local store on Windows 2024-05-10 13:05:23 -04:00
serve-protocol-connection.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
serve-protocol.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
sqlite.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
ssh-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
ssh-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
ssh.cc Use StringMap instead of std::map<std::string, std::string> throughout the codebase 2025-05-19 20:33:28 +00:00
store-api.cc Merge pull request #13193 from xokdvium/lru-cache 2025-05-14 19:29:53 -04:00
store-dir-config.cc rename StoreDirConfigItself to StoreDirConfigBase 2025-05-15 11:24:42 +02:00
store-reference.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
store-registration.cc Factor out resolveStoreConfig 2025-05-14 18:30:25 -04:00
uds-remote-store.cc Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
uds-remote-store.md Enable the unix:// store on Windows 2024-04-18 16:58:32 -04:00
worker-protocol-connection.cc libstore: Introduce WorkerProto::FeatureSet alias 2025-05-02 17:40:34 +00:00
worker-protocol.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00