aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-29nix registry list: Show 'dir' attributeEelco Dolstra
Issue #4050.
2020-09-29Merge branch 'master' of github.com:NixOS/nixEelco Dolstra
2020-09-29Make Headers an optional argumentEelco Dolstra
2020-09-29CleanupEelco Dolstra
2020-09-29Merge pull request #4084 from ↵Domen Kožar
NixOS/dependabot/github_actions/cachix/install-nix-action-v11 Bump cachix/install-nix-action from v10 to v11
2020-09-29Merge branch 'github-api-token' of https://github.com/imalsogreg/nixEelco Dolstra
2020-09-29Merge pull request #3958 from obsidiansystems/ca-floating-upstreamEelco Dolstra
CA derivations that depend on other CA derivations
2020-09-29Merge pull request #4085 from 0mp/patch-2Eelco Dolstra
Fix tar invocation on FreeBSD
2020-09-28Clarify comment a bitJohn Ericson
2020-09-28Update .github/workflows/test.ymlDomen Kožar
2020-09-28Update .github/workflows/test.ymlDomen Kožar
2020-09-28Use `drvPath2` and give it a better nameJohn Ericson
2020-09-28Merge remote-tracking branch 'upstream/master' into ca-floating-upstreamJohn Ericson
2020-09-28Fix tar invocation on FreeBSDMateusz Piotrowski
tar(1) on FreeBSD does not use standard output or input when the -f flag is not provided. Instead, it defaults to /dev/sa0 on FreeBSD. Make this tar invocation a bit more robust and explicitly tell tar(1) to use standard output. This is one of the issues discovered while porting Nix to FreeBSD. It has been tested and committed locally to FreeBSD ports: https://svnweb.freebsd.org/ports/head/sysutils/nix/Makefile?revision=550026&view=markup#l108
2020-09-28Merge pull request #4064 from serokell/balsoft/fix-max-jobsEelco Dolstra
Fix max-jobs option
2020-09-28Merge pull request #4077 from Ma27/left-whitespace-logEelco Dolstra
libmain/progress-bar: don't trim whitespace on the left
2020-09-28Bump cachix/install-nix-action from v10 to v11dependabot[bot]
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from v10 to v11. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v10...95a8068e317b8def9482980abe762f36c77ccc99) Signed-off-by: dependabot[bot] <support@github.com>
2020-09-27doc/manual: update hacking docs (#4078)Maximilian Bosch
* By default, build artifacts should be installed into `outputs/` rather than `inst/`[1]. * Add instructions on how to run unit-tests. [1] 733d2e9402807e54d503c3113e854bfddb3d44e0
2020-09-27Miscellaneous spelling fixes in comments. (#4071)Kevin Quick
2020-09-26libmain/progress-bar: don't trim whitespace on the leftMaximilian Bosch
When running `nix build -L` it can be fairly hard to read the output if the build program intentionally renders whitespace on the left. A typical example is `g++` displaying compilation errors. With this patch, the whitespace on the left is retained to make the log more readable: ``` foo> no configure script, doing nothing foo> building foo> foobar.cc: In function 'int main()': foo> foobar.cc:5:5: error: 'wrong_func' was not declared in this scope foo> 5 | wrong_func(1); foo> | ^~~~~~~~~~ error: --- Error ------------------------------------------------------------------------------------- nix error: --- Error --- nix-daemon builder for '/nix/store/i1q76cw6cyh91raaqg5p5isd1l2x6rx2-foo-1.0.drv' failed with exit code 1 ```
2020-09-26Fix a typo (#4073)Mateusz Piotrowski
2020-09-25Merge remote-tracking branch 'origin/master' into github-api-tokenGregory Hale
2020-09-25Merge pull request #3953 from obsidiansystems/basic-derivation-goal-outputsEelco Dolstra
Deduplicate basic derivation goals too
2020-09-25Merge pull request #3626 from W95Psp/masterEelco Dolstra
Make `functionArgs` primitive accept primops (fix #3624)
2020-09-25expectArg(): Respect the 'optional' flagEelco Dolstra
2020-09-25Merge pull request #4065 from paulopiyo777/flakeBranchEelco Dolstra
Remove redundant value checks
2020-09-24Remove redundant value checksPaul Opiyo
std::optional had redundant checks for whether it had a value. An object is emplaced either way so it can be dereferenced without repeating a value check
2020-09-25Fix max-jobs optionAlexander Bantyev
After 0ed946aa616bbf7ffe7f90d3309abdd27d875b10, max-jobs setting (-j/--max-jobs) stopped working. The reason was that nrLocalBuilds (which compared to maxBuildJobs to figure out whether the limit is reached or not) is not incremented yet when tryBuild is started; So, the solution is to move the check to tryLocalBuild. Closes https://github.com/nixos/nix/issues/3763
2020-09-24Merge pull request #4063 from kquick/fix_hash-file_descEelco Dolstra
Fixes fall-through to report correct description of hash-file command.
2020-09-24Fixes fall-through to report correct description of hash-file command.Kevin Quick
2020-09-23Merge pull request #4054 from edolstra/fix-4021Eelco Dolstra
registerOutputs(): Don't call canonicalisePathMetaData() twice
2020-09-23Hopefully fix EPERM on macOSEelco Dolstra
2020-09-23Fix exceptionEelco Dolstra
2020-09-23Merge pull request #4057 from martinetd/btrfs-compressionEelco Dolstra
nix/store on btrfs compression: add workaround
2020-09-23lstat() cleanupEelco Dolstra
2020-09-23After rewriting a path, make it read-onlyEelco Dolstra
2020-09-23Test whether build/repair results are read-onlyEelco Dolstra
2020-09-23libutil/archive: add preallocate-contents optionDominique Martinet
Make archive preallocation (fallocate) optional because some filesystems like btrfs do not behave as expected with fallocate. See #3550.
2020-09-23DerivationGoal::registerOutputs(): Don't canonicalize twiceEelco Dolstra
Fixes #4021.
2020-09-23canonicalisePathMetaData_(): Change assertion to error messageEelco Dolstra
2020-09-23DerivationGoal::registerOutputs(): Fix bad format stringEelco Dolstra
2020-09-23Merge pull request #4055 from tweag/link-with-goldEelco Dolstra
Use gold as the linker on Linux
2020-09-23Use gold as the linker on Linuxregnat
Saves ~7s in the linking phase
2020-09-23Remove unused Flake::vOutputs fieldEelco Dolstra
2020-09-23Merge pull request #4052 from ujjwaljainnn/fix-typoDomen Kožar
fixed typo
2020-09-22fixed typoujjwal
2020-09-22Deduplicate basic derivation goals tooJohn Ericson
See comments for security concerns. Also optimize goal creation by not traversing map twice.
2020-09-22Merge remote-tracking branch 'origin/master' into non-ca-depending-on-caregnat
2020-09-22RemoteStore::addCAToStore(): Don't hold connection while calling queryPathInfo()Eelco Dolstra
This leads to a deadlock if we're at the connection limit.
2020-09-22Merge pull request #4038 from maljub01/masterEelco Dolstra
Add a nix.conf option for allowing a symlinked store