aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-20Config: Use nlohmann/jsonEelco Dolstra
2020-08-20Merge pull request #3945 from ryantm/patch-1Eelco Dolstra
fix spelling
2020-08-19fix spellingRyan Mulligan
2020-08-19Revert "Add a separate manual job"Eelco Dolstra
This reverts commit 5e3ad1dde0a03b3bd094e1d4ecc0f4fc7abdaa5c. Manual generation now depends on the 'nix' command.
2020-08-19ConsistencyEelco Dolstra
2020-08-19Generate the nix.conf docs from the source codeEelco Dolstra
This means we don't have two (divergent) sets of option descriptions anymore.
2020-08-19Change option descriptions to MarkdownEelco Dolstra
2020-08-19Improve margins between sectionsEelco Dolstra
The default CSS puts almost no space between sections, but a lot of space between subsections. This flips that around.
2020-08-18Merge remote-tracking branch 'upstream/master' into ↵John Ericson
derivation-header-include-order
2020-08-18Merge pull request #3917 from obsidiansystems/output-env-var-unconditionalEelco Dolstra
Simplify code as output env vars are unconditional
2020-08-18Merge pull request #3940 from obsidiansystems/fixed-output-remote-builder-testEelco Dolstra
Add commented-out test for remote building with fixed output derivations
2020-08-18Merge pull request #3930 from obsidiansystems/legacy-ssh-build-pathsEelco Dolstra
Define `LegacySSHStore::buildPaths` using `cmdBuildPaths`
2020-08-18Improve nix.1 manpage generatorEelco Dolstra
2020-08-17Comment out fixed content address testCarlo Nucera
2020-08-17Start generation of the nix.1 manpageEelco Dolstra
2020-08-17Add 'nix dump-args' to dump all commands/flags for manpage generationEelco Dolstra
2020-08-17Merge remote-tracking branch 'origin/master' into markdownEelco Dolstra
2020-08-17Merge pull request #3932 from chkno/no-show-signatureEelco Dolstra
Don't try to parse signature check as commit timestamp
2020-08-17Merge branch 'ca-no-need-trust' of https://github.com/obsidiansystems/nixEelco Dolstra
2020-08-17Merge branch 'test-RemoteStore-buildDerivation' of ↵Eelco Dolstra
https://github.com/obsidiansystems/nix
2020-08-16Test remote building with fixed output derivationsJohn Ericson
2020-08-14Remove extra closing parenJohn Ericson
2020-08-14Work around clang bugJohn Ericson
2020-08-14Merge remote-tracking branch 'upstream/master' into single-ca-drv-buildJohn Ericson
2020-08-14Update src/libstore/daemon.ccJohn Ericson
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2020-08-14Merge pull request #3875 from obsidiansystems/new-interface-for-path-pathOptEelco Dolstra
Offer a safer interface for path and pathOpt
2020-08-14Merge pull request #3924 from obsidiansystems/features-per-storeEelco Dolstra
Make `system-features` a store setting
2020-08-14Merge pull request #3909 from matthewbauer/readd-hashed-mirrorsEelco Dolstra
Add hashed-mirrors back
2020-08-14Merge pull request #3899 from obsidiansystems/make-narHash-not-optionalEelco Dolstra
Make narHash in ValidPathInfo not optional
2020-08-13Don't try to parse signature check as commit timestampChuck
When the log.showSignature git setting is enabled, the output of "git log" contains signature verification information in addition to the timestamp GitInputScheme::fetch wants: $ git log -1 --format=%ct gpg: Signature made Sat 07 Sep 2019 02:02:03 PM PDT gpg: using RSA key 0123456789ABCDEF0123456789ABCDEF01234567 gpg: issuer "user@example.com" gpg: Good signature from "User <user@example.com>" [ultimate] 1567890123 1567890123 For folks that had log.showSignature set, this caused all nix operations on flakes to fail: $ nix build error: stoull
2020-08-13Define `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-13Allow trustless building of CA derivationsJohn 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-13Merge pull request #3928 from obsidiansystems/more-teeEelco Dolstra
Use `TeeSink` and `TeeSouce` in a few more places
2020-08-13Use `TeeSink` and `TeeSouce` in a few more placesJohn Ericson
2020-08-13Merge pull request #3923 from obsidiansystems/daemon-auth-cleanupEelco Dolstra
Separate auth and logic for the daemon
2020-08-13Test `RemoteStore::buildDerivation`John Ericson
Fix `wopNarFromPath` which needed a `toRealPath`.
2020-08-12Merge branch 'daemon-auth-cleanup' of github.com:obsidiansystems/nix into HEADJohn Ericson
2020-08-12Make `system-features` a store settingJohn 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-12Separate auth and logic for the daemonJohn 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-12Break out lambda so output can be matched just onceJohn Ericson
This is much better.
2020-08-11Recheck path validity after acquiring lockJohn 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-11Don't assume a total output map in two places in build.ccJohn 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-11Clarify comment on sandbox and temp fresh pathsJohn Ericson
2020-08-11Clarify `outputReferences` variable with self-describing typeJohn Ericson
Thanks for the idea, @Regnat!
2020-08-11Remove redundant equality checkJohn Ericson
2020-08-11Float comment to out describe `gaveUpOnSubstitution` in generalJohn Ericson
2020-08-11Apply suggestions from code review John Ericson
Thanks!! Co-authored-by: Théophane Hufschmitt <regnat@users.noreply.github.com>
2020-08-11Merge pull request #3919 from bburdette/issue-2238-demotionEelco Dolstra
demote remote build message to Info
2020-08-11demote remote build message to InfoBen Burdette
2020-08-11Merge pull request #3914 from obsidiansystems/small-drv-serialize-cleanupEelco Dolstra
Two small derivation serialization cleanups