Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-20 | Rename drv output querying functions, like master | John Ericson | |
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap | |||
2020-08-14 | Work around clang bug | 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-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 | Merge pull request #3928 from obsidiansystems/more-tee | Eelco Dolstra | |
Use `TeeSink` and `TeeSouce` in a few more places | |||
2020-08-13 | Use `TeeSink` and `TeeSouce` in a few more places | John Ericson | |
2020-08-13 | Merge pull request #3923 from obsidiansystems/daemon-auth-cleanup | Eelco Dolstra | |
Separate auth and logic for the daemon | |||
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-12 | Break out lambda so output can be matched just once | John Ericson | |
This is much better. | |||
2020-08-11 | Recheck path validity after acquiring lock | John Ericson | |
It might have changed, and in any event this is how the cod used to work so let's just keep it. | |||
2020-08-11 | Don't assume a total output map in two places in build.cc | John Ericson | |
Thanks @regnat for catching one of them. The other follows for many of the same reasons. I'm find fixing others on a need-to-fix basis, provided their are no regressions. | |||
2020-08-11 | Clarify comment on sandbox and temp fresh paths | John Ericson | |
2020-08-11 | Clarify `outputReferences` variable with self-describing type | John Ericson | |
Thanks for the idea, @Regnat! | |||
2020-08-11 | Remove redundant equality check | John Ericson | |
2020-08-11 | Float comment to out describe `gaveUpOnSubstitution` in general | John Ericson | |
2020-08-11 | Apply suggestions from code review | John Ericson | |
Thanks!! Co-authored-by: Théophane Hufschmitt <regnat@users.noreply.github.com> | |||
2020-08-11 | Merge pull request #3919 from bburdette/issue-2238-demotion | Eelco Dolstra | |
demote remote build message to Info | |||
2020-08-11 | demote remote build message to Info | Ben Burdette | |
2020-08-11 | Merge pull request #3914 from obsidiansystems/small-drv-serialize-cleanup | Eelco Dolstra | |
Two small derivation serialization cleanups | |||
2020-08-11 | Merge pull request #3916 from Ma27/progress-bar-coloring | Eelco Dolstra | |
Always reset ANSI colors in progress-bar line | |||
2020-08-11 | Fix error in merge breaking floating CA drvs | John Ericson | |
Forgot to add this hunk! | |||
2020-08-10 | Always reset ANSI colors in progress-bar line | Maximilian Bosch | |
When having a message like `waiting for a machine to build X` and building with `nix build -L`, the log-prefix is always colored yellow[1] on a small terminal-width as everything (including the ANSI color-reset) is stripped away. To work around that problem, this patch explicitly adds an `ANSI_NORMAL` to the end of the line. [1] https://imgur.com/a/FjtJOk3 | |||
2020-08-10 | Merge branch 'small-drv-serialize-cleanup' of github.com:obsidiansystems/nix ↵ | John Ericson | |
into single-ca-drv-build | |||
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-08 | Fix perl FFI for floating ca derivations | John Ericson | |
Path is null when not known statically. | |||
2020-08-07 | Squashed get CA derivations building | John Ericson | |
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-07 | nix build (and others): Force re-evaluation of cached errors | Eelco Dolstra | |
Fixes #3872. This is a bit hacky. Ideally we would automatically re-evaluate the failed attribute iff we need to print the error message (so in commands like 'nix search' we wouldn't re-evaluate because we're suppressing errors). | |||
2020-08-07 | Make --no-eval-cache a global setting | Eelco Dolstra | |
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-06 | Merge pull request #3856 from obsidiansystems/buildable-variant | Eelco Dolstra | |
Make `Buildable` a `std::variant` | |||
2020-08-06 | repl.cc: Check for HAVE_BOEHMGC | Eelco Dolstra | |
Fixes #3906. | |||
2020-08-06 | Merge pull request #3897 from bburdette/error-2238 | Eelco Dolstra | |
error messages for issue 2238 | |||
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 | Fix perl integration | Carlo Nucera | |
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. |