Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-08 | Merge pull request #3571 from gilligan/nix-unit-testing | Eelco Dolstra | |
Add unit tests | |||
2020-05-08 | Enable toLower umlauts test | Tobias Pflug | |
Update comment and enable the test | |||
2020-05-08 | Enable `baseNameOf` test | Tobias Pflug | |
Add note about removal of trailing slashes in the doc comment of baseNameOf and enabled the test. | |||
2020-05-08 | Enable `dirOf` test | Tobias Pflug | |
Adjusted the doc comment for `dirOf` to reflect the implementation behavior. | |||
2020-05-08 | configure: Look for gtest | Eelco Dolstra | |
2020-05-08 | Don't install unit tests | Eelco Dolstra | |
2020-05-08 | make check: Run unit tests | Eelco Dolstra | |
2020-05-08 | Fix warning | Eelco Dolstra | |
2020-05-08 | Move unit tests to sr/libutil/tests, use mk make rules | Eelco Dolstra | |
2020-05-08 | Mention build users in the 'waiting for' message | Alexander Bantyev | |
2020-05-08 | Don't block while waiting for build users | Alexander Bantyev | |
2020-05-07 | Drop unnecessary std::string | Tobias Pflug | |
2020-05-07 | Remove replaceInSet | Tobias Pflug | |
The function isn't being used anywhere so it seems safe to remove | |||
2020-05-07 | Use ASSERT_EQ instead of ASSERT_STREQ | Tobias 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-07 | Manual: Typo | Eelco Dolstra | |
2020-05-07 | Manual: Fix typo | Eelco Dolstra | |
2020-05-06 | Merge pull request #3570 from Mic92/nix-search | Domen Kožar | |
nix/search: no error for empty search results if json is enabled | |||
2020-05-06 | WIP: add unit tests for libutil | Tobias 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-06 | nix/search: no error for empty search results if json is enabled | Jö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-06 | Merge pull request #3546 from guibou/nix_readfile_on_0_sized_files | Eelco Dolstra | |
builtins.readFile: do not truncate content | |||
2020-05-06 | Merge pull request #3557 from Ma27/nix-repl-help | Eelco Dolstra | |
Improve help-message for nix-repl | |||
2020-05-06 | libstore/build.cc: more explicit about form of output | Peter Kolloch | |
Be more explicit about why we expect a regular file as output when outputHashMode=flat for a fixed output derivation. | |||
2020-05-06 | Merge pull request #3562 from pikajude/master | Eelco Dolstra | |
Use fragment size for autoGC capacity calculation | |||
2020-05-06 | Revert "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-05 | nix doctor: Consistency | Eelco Dolstra | |
2020-05-05 | nix --help: Group commands | Eelco Dolstra | |
2020-05-05 | Wait for build users when none are available | Alexander Bantyev | |
2020-05-04 | nix auto-gc: use fragment size | Jude Taylor | |
2020-05-04 | Flag: Use designated initializers | Eelco Dolstra | |
2020-05-04 | precompiled-headers.h: Don't include our own headers | Eelco Dolstra | |
2020-05-04 | Merge pull request #3558 from LnL7/ssh-ng-stderr | Eelco Dolstra | |
remote-store: don't log raw stderr by default | |||
2020-05-02 | logging: handle build log lines in simple logger | Daiderd Jordan | |
The raw stderr output isn't logged anymore so the build logs need to be printed by the default logger in order for the old commands like nix-build to still show build output. | |||
2020-05-02 | remote-store: don't log raw stderr by default | Daiderd Jordan | |
For remote stores the log messages are already forwarded as structured STDERR_RESULT messages so the old format is duplicate information. But still included with -vvv since it could be useful for debugging problems. $ nix build -L /nix/store/nl71b2niws857ffiaggyrkjwgx9jjzc0-foo.drv --store ssh-ng://localhost Hello World! foo> Hello World! [1/0/1 built] building foo Fixes #3556 | |||
2020-05-01 | Improve help-message for nix-repl | Maximilian Bosch | |
* Remove obsolete `printHelp` function * Add an example to demonstrate how to list all available commands within the REPL | |||
2020-05-01 | Fix build | Eelco Dolstra | |
2020-05-01 | rename run to shell in tests | Matthew Kenigsberg | |
(cherry picked from commit f459ca547fda4b0ca477d895413e86b69a580ab0) | |||
2020-05-01 | rename nix run to nix shell and nix app to nix run | Matthew Kenigsberg | |
(cherry picked from commit 5d8504b9789ffebabe8226227c4061dd48354177) | |||
2020-05-01 | Fix coverage job | Eelco Dolstra | |
(cherry picked from commit bc5d4843a916dc4f99516e187a63108e8006f81f) | |||
2020-05-01 | Tweak README.md | Eelco Dolstra | |
2020-05-01 | Merge pull request #3552 from gilligan/revamp-readme | Domen Kožar | |
Revamp README.md | |||
2020-05-01 | Update README.md | Domen Kožar | |
2020-05-01 | Update README.md | Domen Kožar | |
Co-authored-by: worldofpeace <worldofpeace@protonmail.ch> | |||
2020-05-01 | Update README.md | Domen Kožar | |
Co-authored-by: worldofpeace <worldofpeace@protonmail.ch> | |||
2020-04-30 | Revamp README.md | Tobias Pflug | |
2020-04-30 | Update issue templates | Domen Kožar | |
2020-04-30 | Update issue templates | Domen Kožar | |
2020-04-30 | nix dev-shell: Unset shellHook | Eelco Dolstra | |
This avoids inheriting the caller's shellHook, which can happen when running a dev-shell inside a dev-shell. | |||
2020-04-30 | nix dev-shell: Support structured attrs | Eelco Dolstra | |
Tested against https://github.com/NixOS/nixpkgs/pull/72074. Fixes #3540. | |||
2020-04-30 | nix dev-shell: Refactor script for getting the environment | Eelco Dolstra | |
2020-04-30 | Merge pull request #3548 from Ma27/fetchtarball-pos | Domen Kožar | |
Fix displaying error-position in `builtins.fetch{Tree,Tarball}` |