aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-10-11Merge branches 'build-1', 'build-2', 'build-3', 'build-4', 'build-5', ↵John Ericson
'build-6', 'build-7' and 'build-8' into split_build_cc
2020-10-11Trim lock.ccJohn Ericson
2020-10-11Rename to hand-hold git (lock.cc)John Ericson
2020-10-11Trim lock.hhJohn Ericson
2020-10-11Rename to hand-hold git (lock.hh)John Ericson
2020-10-11Trim build/worker.ccJohn Ericson
2020-10-11Rename to hand-hold git (build/worker.cc)John Ericson
2020-10-11Trim build/substitution-goal.ccJohn Ericson
2020-10-11Rename to hand-hold git (build/substitution-goal.cc)John Ericson
2020-10-11Trim build/local-store-build.ccJohn Ericson
2020-10-11Rename to hand-hold git (build/local-store-build.cc)John Ericson
2020-10-11Trim build/hook-instance.ccJohn Ericson
2020-10-11Rename to hand-hold git (build/hook-instance.cc)John Ericson
2020-10-11Trim build/goal.ccJohn Ericson
2020-10-11Rename to hand-hold git (build/goal.cc)John Ericson
2020-10-11Trim build/derivation-goal.ccJohn Ericson
2020-10-11Rename to hand-hold git (build/derivation-goal.cc)John Ericson
2020-10-11Trim build.hhJohn Ericson
2020-10-11Rename to hand-hold git (build.hh)John Ericson
2020-10-11Prepare for build/* filesJohn Ericson
2020-10-11Split out `commonChildInit`John Ericson
2020-10-09nix develop: Unset $HOSTNAMEEelco Dolstra
This is set to "localhost" by stdenv which is probably not what you want.
2020-10-09nix develop: Source ~/.bashrcEelco Dolstra
Fixes #4104.
2020-10-09Completions::add(): Guard against newlinesEelco Dolstra
2020-10-09Merge pull request #4128 from tweag/extended-completionsEelco Dolstra
Add a zsh completion script
2020-10-09Remove LazyEelco Dolstra
This fixes a crash during startup when compiling Nix as a single compilation unit.
2020-10-09writeFile(): Add error context to writeFull() failureEelco Dolstra
Issue #4092.
2020-10-09Remove stray DerivationOutputsAndPaths typeEelco Dolstra
2020-10-09Add a description in the completion outputsregnat
Make nix output completions in the form `completion\tdescription`. This can't be used by bash (afaik), but other shells like zsh or fish can display it along the completion choices
2020-10-07Dynamically disable user namespaces if CLONE_NEWUSER failsEelco Dolstra
This makes builds work inside nixos-enter. Fixes #3145.
2020-10-07Support user namespaces being disabledEelco Dolstra
If max_user_namespaces is set to 0, then don't run the build in a user namespace. Fixes #4092.
2020-10-07DohEelco Dolstra
2020-10-07Tweak error messagesEelco Dolstra
2020-10-07Serialize exceptions from the daemon to the clientEelco Dolstra
2020-10-07Serialize exceptions from the sandbox process to the parentEelco Dolstra
Fixes #4118.
2020-10-07FormattingEelco Dolstra
2020-10-07Remove generic std::optional<T> suppport from worker protoJohn Ericson
See comment for rational; I think it's good to leave a comment lest anyone is tempted to add such a sum-type instance again. Fixes #4113
2020-10-06Prevent a deadlock when user namespace setup failsEelco Dolstra
Observed on Centos 7 when user namespaces are disabled: DerivationGoal::startBuilder() throws an exception, ~DerivationGoal() waits for the child process to exit, but the child process hangs forever in drainFD(userNamespaceSync.readSide.get()) in DerivationGoal::runChild(). Not sure why the SIGKILL doesn't get through. Issue #4092.
2020-10-06Shut up some clang warningsEelco Dolstra
2020-10-06Remove static variable name clashesEelco 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-10-06Remove unneeded -lboost_* flagsEelco Dolstra
2020-10-06Remove 'using namespace fetchers'Eelco Dolstra
2020-10-06Factor out common showBytes()Eelco Dolstra
2020-10-06Add missing #pragma onceEelco Dolstra
2020-10-05Fix s3:// storeEelco Dolstra
Fixes https://github.com/NixOS/nixos-org-configurations/issues/123.
2020-10-05Merge pull request #3935 from obsidiansystems/binary-cache-addToStoreFromDumpEelco Dolstra
Get rid of Hash::dummy from BinaryCacheStore
2020-10-05Merge pull request #3895 from obsidiansystems/templated-daemon-protocolEelco Dolstra
More templated STL support for the daemon protocol
2020-10-02Fix profile update in nix commandFabian Möller
2020-10-01add more examples to --help of `nix run`DavHau
2020-09-30StyleEelco Dolstra