Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-05 | Allow substituting paths when building remotely using `ssh-ng://` | Maximilian Bosch | |
Until now, it was not possible to substitute missing paths from e.g. `https://cache.nixos.org` on a remote server when building on it using the new `ssh-ng` protocol. This is because every store implementation except legacy `ssh://` ignores the substitution flag passed to `Store::queryValidPaths` while the `legacy-ssh-store` substitutes the remote store using `cmdQueryValidPaths` when the remote store is opened with `nix-store --serve`. This patch slightly modifies the daemon protocol to allow passing an integer value suggesting whether to substitute missing paths during `wopQueryValidPaths`. To implement this on the daemon-side, the substitution logic from `nix-store --serve` has been moved into a protected method named `Store::substitutePaths` which gets currently called from `LocalStore::queryValidPaths` and `Store::queryValidPaths` if `maybeSubstitute` is `true`. Fixes #2770 | |||
2020-11-03 | LocalStore: Get rid of recursive_mutex | Eelco Dolstra | |
2020-10-06 | Remove static variable name clashes | Eelco Dolstra | |
This was useful for an experiment with building Nix as a single compilation unit. It's not very useful otherwise but also doesn't hurt... | |||
2020-09-30 | nix::worker_proto -> worker_proto | John Ericson | |
2020-09-30 | Revert "Use template structs instead of phantoms" | John Ericson | |
This reverts commit 9ab07e99f527d1fa3adfa02839da477a1528d64b. | |||
2020-09-22 | Merge remote-tracking branch 'upstream/master' into templated-daemon-protocol | John Ericson | |
2020-09-03 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-09-03 | addPermRoot(): Remove indirect flag | Eelco Dolstra | |
2020-09-03 | Remove the --indirect flag | Eelco Dolstra | |
All GC roots are now indirect. | |||
2020-08-20 | Rename drv output querying functions, like master | John Ericson | |
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap | |||
2020-08-19 | Merge branch 'master' of github.com:NixOS/nix into templated-daemon-protocol | John Ericson | |
2020-08-14 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-14 | Merge pull request #3875 from obsidiansystems/new-interface-for-path-pathOpt | Eelco Dolstra | |
Offer a safer interface for path and pathOpt | |||
2020-08-07 | Squashed get CA derivations building | John Ericson | |
2020-08-06 | Use template structs instead of phantoms | Carlo Nucera | |
2020-08-06 | Merge branch 'drv-outputs-map-allow-missing-namespace' of ↵ | Carlo Nucera | |
github.com:obsidiansystems/nix into templated-daemon-protocol | |||
2020-08-06 | Minimize the usage of `Hash::dummy` | John Ericson | |
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
new-interface-for-path-pathOpt | |||
2020-08-05 | Remove Hash::operator bool () | Carlo Nucera | |
Since the hash is not optional anymore | |||
2020-08-05 | Remove optionality in ValidPathInfo::narInfo | Carlo Nucera | |
2020-08-05 | Merge remote-tracking branch 'obsidian/drv-outputs-map-allow-missing' into ↵ | John Ericson | |
templated-daemon-protocol | |||
2020-08-04 | WIP systematize more of the worker protocol | John Ericson | |
This refactor should *not* change the wire protocol. | |||
2020-07-30 | Merge branch 'master' of github.com:NixOS/nix into better-ca-parse-errors | Carlo Nucera | |
2020-07-30 | unsigned long long -> uint64_t | Eelco Dolstra | |
2020-07-28 | Merge branch 'misc-ca' of github.com:obsidiansystems/nix into ↵ | Carlo Nucera | |
new-interface-for-path-pathOpt | |||
2020-07-28 | Use the new interface | Carlo Nucera | |
2020-07-27 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-27 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-16 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
optional-derivation-output-storepath | |||
2020-07-16 | Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into ↵ | John Ericson | |
better-ca-parse-errors | |||
2020-07-15 | Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type | Carlo Nucera | |
2020-07-13 | Remove 'accessor' from addToStore() | Eelco Dolstra | |
This is only used by hydra-queue-runner and it's better to implement it there. | |||
2020-07-13 | Merge branch 'hash-always-has-type' into better-ca-parse-errors | John Ericson | |
2020-07-13 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-07-12 | String .drv suffix to create derivation name | John Ericson | |
2020-07-11 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
optional-derivation-output-storepath | |||
2020-07-10 | Factor out commonality between nix-prefetch-url and nix-store --add-fixed | Eelco Dolstra | |
2020-07-10 | nix-store --add-fixed: Run in constant memory | Eelco Dolstra | |
2020-07-08 | Only store hash of fixed derivation output | Matthew Bauer | |
we don’t need a full storepath for a fixedoutput derivation. So just putting the ingestion method + the hash is sufficient. | |||
2020-07-08 | Add name to BasicDerivation | Matthew Bauer | |
We always have a name for BasicDerivation, since we have a derivation store path that has a name. | |||
2020-07-01 | Rename two hash constructors to proper functions | Carlo Nucera | |
2020-06-23 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-06-19 | WIP: Make Hash always store a valid hash type | John Ericson | |
2020-06-18 | Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype | John Ericson | |
2020-06-18 | Revert the `enum struct` change | John Ericson | |
Not a regular git revert as there have been many merges and things. | |||
2020-06-18 | Merge branch 'enum-class' into no-hash-type-unknown | John Ericson | |
2020-06-18 | Merge remote-tracking branch 'upstream/master' into enum-class | John Ericson | |
2020-06-16 | Remove StorePath::clone() and related functions | Eelco Dolstra | |
2020-06-15 | Remove trailing whitespace | Eelco Dolstra | |
2020-06-11 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |