aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-11Merge branch 'master' into errors-phase-2Ben Burdette
2020-05-11comments and cleanupBen Burdette
2020-05-11switch from printError warnings to logWarningsBen Burdette
2020-05-11Merge pull request #3568 from kolloch/outputHashModeErrorDomen Kožar
libstore/build.cc: more explicit error about form of output
2020-05-11Update src/libstore/build.ccDomen Kožar
2020-05-11Merge pull request #3581 from TerrorJack/patch-1Domen Kožar
Update "Upgrading Nix" documentation
2020-05-11Merge pull request #3582 from bhipple/doc/fixed-outputDomen Kožar
doc: consistently refer to 'fixed-output' with a dash
2020-05-09Merge pull request #3580 from dmedinag/patch-1Domen Kožar
Fix typo
2020-05-09doc: consistently refer to 'fixed-output' with a dashBenjamin Hipple
General cleanup that makes it easier to search for the term.
2020-05-09Update "Upgrading Nix" documentationShao Cheng
This PR proposes two changes to the "Upgrading Nix" documentation: * Besides updating `nixpkgs.nix`, we also update `nixpkgs.cacert`, so that the certificates are up-to-date as well. * Add the instructions for multi-user mode on Linux.
2020-05-09Fix typoDani
2020-05-08add pos to errorinfo, remove from hintsBen Burdette
2020-05-08Merge pull request #3571 from gilligan/nix-unit-testingEelco Dolstra
Add unit tests
2020-05-08Enable toLower umlauts testTobias Pflug
Update comment and enable the test
2020-05-08Enable `baseNameOf` testTobias Pflug
Add note about removal of trailing slashes in the doc comment of baseNameOf and enabled the test.
2020-05-08Enable `dirOf` testTobias Pflug
Adjusted the doc comment for `dirOf` to reflect the implementation behavior.
2020-05-08configure: Look for gtestEelco Dolstra
2020-05-08Don't install unit testsEelco Dolstra
2020-05-08make check: Run unit testsEelco Dolstra
2020-05-08Fix warningEelco Dolstra
2020-05-08Move unit tests to sr/libutil/tests, use mk make rulesEelco Dolstra
2020-05-07pretending to be constBen Burdette
2020-05-07Drop unnecessary std::stringTobias Pflug
2020-05-07Remove replaceInSetTobias Pflug
The function isn't being used anywhere so it seems safe to remove
2020-05-07Use ASSERT_EQ instead of ASSERT_STREQTobias Pflug
No need to use `c_str()` in combination with `ASSERT_STREQ`. It's possible to just use ASSERT_EQ on std::string
2020-05-07Manual: TypoEelco Dolstra
2020-05-07Manual: Fix typoEelco Dolstra
2020-05-06todo removalBen Burdette
2020-05-06implement SysError errno handlingBen Burdette
2020-05-06Merge pull request #3570 from Mic92/nix-searchDomen Kožar
nix/search: no error for empty search results if json is enabled
2020-05-06WIP: add unit tests for libutilTobias Pflug
This is a proof on concept to evaluate writing unit tests for Nix using google test (https://github.com/google/googletest). In order to execute tests: $ make unit-tests $ ./unit-tests The Makefile rules for `unit-tests` is a complete hack.
2020-05-06nix/search: no error for empty search results if json is enabledJörg Thalheim
- result list will be always empty if --json is passed - for scripts an empty search result is not really an error, we rather want to distinguish between evaluation errors and empty results
2020-05-06Merge pull request #3546 from guibou/nix_readfile_on_0_sized_filesEelco Dolstra
builtins.readFile: do not truncate content
2020-05-06Merge pull request #3557 from Ma27/nix-repl-helpEelco Dolstra
Improve help-message for nix-repl
2020-05-06libstore/build.cc: more explicit about form of outputPeter Kolloch
Be more explicit about why we expect a regular file as output when outputHashMode=flat for a fixed output derivation.
2020-05-06Merge pull request #3562 from pikajude/masterEelco Dolstra
Use fragment size for autoGC capacity calculation
2020-05-06Revert "Merge pull request #3558 from LnL7/ssh-ng-stderr"Eelco Dolstra
This reverts commit 3ebfbecdd187002569257f7cb183bf9e0b39af1e, reversing changes made to c089c52d5f1cff888552f485775b74226dcbe618. https://github.com/NixOS/nix/pull/3558
2020-05-05nix doctor: ConsistencyEelco Dolstra
2020-05-05nix --help: Group commandsEelco Dolstra
2020-05-04appending to hints; remove _printErrorBen Burdette
2020-05-04add normaltxt, yellowify->yellowtxtBen Burdette
2020-05-04nix auto-gc: use fragment sizeJude Taylor
2020-05-04log as warningBen Burdette
2020-05-04affinity operator<<Ben Burdette
2020-05-04Flag: Use designated initializersEelco Dolstra
2020-05-04precompiled-headers.h: Don't include our own headersEelco Dolstra
2020-05-04separate msgs instead of appending to what()Ben Burdette
2020-05-04closer but still lambda indent problemsBen Burdette
2020-05-04Merge pull request #3558 from LnL7/ssh-ng-stderrEelco Dolstra
remote-store: don't log raw stderr by default
2020-05-03convert some printError calls to logErrorBen Burdette