aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-21install: make synthetic.conf and fstab checks stricterDaiderd Jordan
2020-05-21install: improve output and error handlingDaiderd Jordan
2020-05-21install: hide the store volume on darwinDaiderd Jordan
2020-05-21manual: add apfs volume sectionDaiderd Jordan
2020-05-21install: show macOS 10.15 message with --daemonDaiderd Jordan
2020-05-21install: also configure ~/.zshenvDaiderd Jordan
The default login shell for users on macOS 10.15 changed from bash to zsh. So while generally nonstandard we need to configure it to make nix function out of the box on macOS.
2020-05-21install: configure and bootstrap synthetic.conf on darwinDaiderd Jordan
Starting macOS 10.15 /nix can't be creasted directly anymore due to the readonly filesystem, but synthetic.conf was introduced to enable creating mountpoints or symlinks for special usecases like package managers.
2020-05-21documentation: avoid unquoted URLsKrzysztof Gogolewski
2020-05-20Merge pull request #3603 from gilligan/url-testsEelco Dolstra
Add unit testes for url.cc
2020-05-20Add unit testes for url.ccTobias Pflug
This adds tests for - parseURL - percentDecode - decodeQuery
2020-05-18CleanupEelco Dolstra
2020-05-18Merge branch 'wait-for-builders' of https://github.com/serokell/nixEelco Dolstra
2020-05-18Merge pull request #3592 from Mic92/doc-fixesEelco Dolstra
Remove -j option from simple-build-testing
2020-05-16Remove -j option from simple-build-testingJörg Thalheim
By default Nix/NixOS already set a reasonable default `max-jobs = auto` so we don't need to mention it in this tutorial. The option is still documented in other parts of the documentation if users ever stumble over this. Fixes https://github.com/NixOS/nix/issues/2531
2020-05-15actions: use latest OSDomen Kožar
2020-05-14Don't lock a user while doing remote buildsAlexander Bantyev
2020-05-13Merge pull request #3588 from prusnak/nix-skip-channel-addEelco Dolstra
Introduce NIX_INSTALLER_NO_CHANNEL_ADD which skips nix-channel --add
2020-05-12Expose installer configuration environment variables via command line flagsPavol Rusnak
2020-05-12Show hint how to enable experimental featuresEelco Dolstra
2020-05-12nix: Don't require --experimental-features=nix-command for some subcommandsEelco Dolstra
2020-05-12tests/binary-cache.sh: Improve incomplete closure testEelco Dolstra
Issue #3373.
2020-05-12Introduce NIX_INSTALLER_NO_CHANNEL_ADD which skips nix-channel --addPavol Rusnak
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-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-08Mention build users in the 'waiting for' messageAlexander Bantyev
2020-05-08Don't block while waiting for build usersAlexander Bantyev
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-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