Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-25 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-24 | Add DummyStore (dummy://) | Eelco Dolstra | |
DummyStore does not allow building or adding paths. This is useful for evaluation tests when you don't want to initialize a "proper" store. | |||
2020-08-24 | Merge pull request #3950 from obsidiansystems/tabs-spaces | Eelco Dolstra | |
tabs -> spaces | |||
2020-08-23 | `writeDerivation` just needs a plain store reference | John Ericson | |
2020-08-21 | tabs -> spaces | John Ericson | |
Sorry I let the tab sneak in there in the first place. | |||
2020-08-20 | Merge pull request #3859 from obsidiansystems/drv-outputs-map-allow-missing | Eelco Dolstra | |
`queryDerivationOutputMap` no longer assumes all outputs have a mapping | |||
2020-08-20 | Rename drv output querying functions | John Ericson | |
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap` | |||
2020-08-20 | Config: Use nlohmann/json | Eelco Dolstra | |
2020-08-19 | Generate the nix.conf docs from the source code | Eelco Dolstra | |
This means we don't have two (divergent) sets of option descriptions anymore. | |||
2020-08-18 | Merge pull request #3930 from obsidiansystems/legacy-ssh-build-paths | Eelco Dolstra | |
Define `LegacySSHStore::buildPaths` using `cmdBuildPaths` | |||
2020-08-17 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-17 | Merge branch 'ca-no-need-trust' of https://github.com/obsidiansystems/nix | Eelco Dolstra | |
2020-08-17 | Merge branch 'test-RemoteStore-buildDerivation' of ↵ | Eelco Dolstra | |
https://github.com/obsidiansystems/nix | |||
2020-08-14 | Remove extra closing paren | John Ericson | |
2020-08-14 | Update src/libstore/daemon.cc | John Ericson | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
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-14 | Merge pull request #3924 from obsidiansystems/features-per-store | Eelco Dolstra | |
Make `system-features` a store setting | |||
2020-08-14 | Merge pull request #3909 from matthewbauer/readd-hashed-mirrors | Eelco Dolstra | |
Add hashed-mirrors back | |||
2020-08-14 | Merge pull request #3899 from obsidiansystems/make-narHash-not-optional | Eelco Dolstra | |
Make narHash in ValidPathInfo not optional | |||
2020-08-13 | Define `LegacySSHStore::buildPaths` using `cmdBuildPaths` | John Ericson | |
Evidentally this was never implemented because Nix switched to using `buildDerivation` exclusively before `build-remote.pl` was rewritten. The `nix-copy-ssh` test (already) tests this. | |||
2020-08-13 | Allow trustless building of CA derivations | John Ericson | |
Include a long comment explaining the policy. Perhaps this can be moved to the manual at some point in the future. Also bump the daemon protocol minor version, so clients can tell whether `wopBuildDerivation` supports trustless CA derivation building. I hope to take advantage of this in a follow-up PR to support trustless remote building with the minimal sending of derivation closures. | |||
2020-08-13 | Use `TeeSink` and `TeeSouce` in a few more places | John Ericson | |
2020-08-13 | Test `RemoteStore::buildDerivation` | John Ericson | |
Fix `wopNarFromPath` which needed a `toRealPath`. | |||
2020-08-12 | Merge branch 'daemon-auth-cleanup' of github.com:obsidiansystems/nix into HEAD | John Ericson | |
2020-08-12 | Make `system-features` a store setting | John Ericson | |
This seems more correct. It also means one can specify the features a store should support with --store and remote-store=..., which is useful. I use this to clean up the build remotes test. | |||
2020-08-12 | Separate auth and logic for the daemon | John Ericson | |
Before, processConnection wanted to know a user name and user id, and `nix-daemon --stdio`, when it isn't proxying to an underlying daemon, would just assume "root" and 0. But `nix-daemon --stdio` (no proxying) shouldn't make guesses about who holds the other end of its standard streams. Now processConnection takes an "auth hook", so `nix-daemon` can provide the appropriate policy and daemon.cc doesn't need to know or care what it is. | |||
2020-08-10 | Deduplicate parsing and reading derivations | John Ericson | |
2020-08-10 | Remove name parameter from `writeDerivation` | John Ericson | |
The name is now stored with the derivation itself. | |||
2020-08-07 | Fix .ls file names in binary caches | Eelco Dolstra | |
These are not supposed to include the 'name' part of the store path. This was broken by 759947bf72. | |||
2020-08-07 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
drv-outputs-map-allow-missing | |||
2020-08-07 | Specialize `std::optional<StorePath>` so this is backwards compatible | John Ericson | |
While I am cautious to break parametricity, I think it's OK in this cases---we're not about to try to do some crazy polymorphic protocol anytime soon. | |||
2020-08-06 | Fix build | Matthew Bauer | |
2020-08-06 | Merge remote-tracking branch 'origin/master' into readd-hashed-mirrors | Matthew Bauer | |
2020-08-06 | Add hashed-mirrors back | Matthew Bauer | |
Some users have their own hashed-mirrors setup, that is used to mirror things in addition to what’s available on tarballs.nixos.org. Although this should be feasable to do with a Binary Cache, it’s not always easy, since you have to remember what "name" each of the tarballs has. Continuing to support hashed-mirrors is cheap, so it’s best to leave support in Nix. Note that NIX_HASHED_MIRRORS is also supported in Nixpkgs through fetchurl.nix. Note that this excludes tarballs.nixos.org from the default, as in \#3689. All of these are available on cache.nixos.org. | |||
2020-08-06 | Minimize the usage of `Hash::dummy` | John Ericson | |
2020-08-06 | Merge remote-tracking branch 'upstream/master' into make-narHash-not-optional | John Ericson | |
2020-08-05 | Simplify the namespace | Carlo Nucera | |
2020-08-05 | Solve template deduction problem | Carlo Nucera | |
We had to predeclare our template functions | |||
2020-08-05 | WIP: Put the worker protocol `read` and `write` in a namespace to disambig | John Ericson | |
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
new-interface-for-path-pathOpt | |||
2020-08-05 | Proxy -> Phantom to match Rust | John Ericson | |
Sorry, Haskell. | |||
2020-08-05 | Remove Hash::operator bool () | Carlo Nucera | |
Since the hash is not optional anymore | |||
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into make-narHash-not-optional | Carlo Nucera | |
2020-08-05 | Add Hash::dummy to signal default value | Carlo Nucera | |
We did this in the same spirit of the dummy value that's present in libstore/path.hh | |||
2020-08-05 | Remove optionality in ValidPathInfo::narInfo | Carlo Nucera | |
2020-08-05 | error messages for issue 2238 | Ben Burdette | |
2020-08-05 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
drv-outputs-map-allow-missing | |||
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into ↵ | John Ericson | |
derivation-primop-floating-output | |||
2020-08-05 | Merge remote-tracking branch 'obsidian/misc-ca' into ↵ | John Ericson | |
derivation-primop-floating-output | |||
2020-08-05 | Style fix | Eelco Dolstra | |