aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-20Setting: Remove "Tag" template argumentEelco Dolstra
2017-04-20Read per-user settings from ~/.config/nix/nix.confEelco Dolstra
2017-04-20binary-caches-parallel-connections -> http-connectionsEelco Dolstra
2017-04-20nix.conf man page: binary-caches -> substitutersEelco Dolstra
2017-04-20Reimplement trusted-substituters (aka trusted-binary-caches)Eelco Dolstra
2017-04-19Reimplement connect-timeoutEelco Dolstra
Fixes #1339.
2017-04-19getDerivations(): Filter out packages with bad derivation namesEelco Dolstra
In particular, this disallows attribute names containing dots or starting with dots. Hydra already disallowed these. This affects the following packages in Nixpkgs master: 2048-in-terminal 2bwm 389-ds-base 90secondportraits lispPackages.3bmd lispPackages.hu.dwim.asdf lispPackages.hu.dwim.def Closes #1342.
2017-04-18Merge pull request #1337 from lheckemann/doc-tryEvalEelco Dolstra
Manual: document tryEval
2017-04-18Merge pull request #1321 from shlevy/channel-direct-tarball-errorEelco Dolstra
nix-channel: error out if direct tarball unpack fails.
2017-04-17Manual: document tryEvalLinus Heckemann
2017-04-14Shut up some warningsEelco Dolstra
2017-04-14DohEelco Dolstra
2017-04-14Build on aarch64-linuxEelco Dolstra
2017-04-14Fix 32-bit buildEelco Dolstra
http://hydra.nixos.org/build/51569816
2017-04-14Fix Perl bindingsEelco Dolstra
2017-04-14Minor cleanupEelco Dolstra
2017-04-14nix-daemon: Don't set untrusted-* settingsEelco Dolstra
These are no longer used anywhere.
2017-04-14nix-daemon: Don't die if the user sends an unknown settingEelco Dolstra
2017-04-13Add "nix show-config" commandEelco Dolstra
This dumps the entire Nix configuration, including all options that have default values.
2017-04-13Convert Settings to the new config systemEelco Dolstra
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
2017-04-13Support arbitrary numeric types for settingsEelco Dolstra
2017-04-13Validate Boolean settings betterEelco Dolstra
2017-04-13Merge branch 'rework-options' of https://github.com/copumpkin/nixEelco Dolstra
2017-04-13Add a Config class to simplify adding configuration settingsEelco Dolstra
The typical use is to inherit Config and add Setting<T> members: class MyClass : private Config { Setting<int> foo{this, 123, "foo", "the number of foos to use"}; Setting<std::string> bar{this, "blabla", "bar", "the name of the bar"}; MyClass() : Config(readConfigFile("/etc/my-app.conf")) { std::cout << foo << "\n"; // will print 123 unless overriden } }; Currently, this is used by Store and its subclasses for store parameters. You now get a warning if you specify a non-existant store parameter in a store URI.
2017-04-13canonPath(): Check against empty pathsEelco Dolstra
2017-04-13Add warn functionEelco Dolstra
2017-04-13Initialise loggerEelco Dolstra
2017-04-13Merge pull request #1325 from benley/float-rl-1.12Eelco Dolstra
Move note about float support out of the wrong release notes
2017-04-12Move note about float support out of the wrong release notesBenjamin Staffin
Looks like this snuck into the 1.11 release notes post-release, but float support isn't actually present until 1.12.
2017-04-12Merge pull request #1302 from dtzWill/fix/nix-optionsEelco Dolstra
Process nix.conf options in "new" commands, add test
2017-04-11Drop WWW::Curl dependencyEelco Dolstra
Somehow this came back after d1da6967b8891763ce04d668027cf300c9bbf0b2.
2017-04-10nix-channel: error out if direct tarball unpack fails.Shea Levy
It's very unlikely a path ending in .tar.gz is a directory Fixes #1318
2017-04-10shell.nix: Remove more dependenciesEelco Dolstra
Thanks @copumpkin.
2017-04-10Merge pull request #1316 from copumpkin/nix-retries-defaultEelco Dolstra
Default to 5 download retries
2017-04-10Merge pull request #1317 from copumpkin/nix-retry-write-errorEelco Dolstra
Add CURLE_WRITE_ERROR as a transient error condition
2017-04-10Add CURLE_WRITE_ERROR as a transient error conditionDan Peebles
We've observed it failing downloads in the wild and retrying the same URL a few moments later seemed to fix it.
2017-04-10Default to 5 download retriesDan Peebles
This should help certain downloaders that don't request anything special for the number of retries, like nix-channel.
2017-04-10shell.nix: Remove obsolete flagsEelco Dolstra
2017-04-10Minor cleanupEelco Dolstra
Also, possible fix for #1310 on 32-bit systems.
2017-04-10Allow "auto" as a store URIEelco Dolstra
Using the empty string is likely to be ambiguous in some contexts.
2017-04-08tests/timeout: create output so tests don't trivially passWill Dietz
Timeout tests rely on failed build to determine success, so make sure these derivations (silent in particular) don't fail regardless of timeout behavior.
2017-04-08Process nix.conf options in "new" nix commands, add test.Will Dietz
Without this (minor) change, the options set using "--option" or read from nix.conf were parsed but not used.
2017-04-07Merge pull request #1306 from copumpkin/retry-on-ssl-errorEelco Dolstra
Retry downloads on transient SSL errors too
2017-04-06Retry downloads on transient SSL errors tooDan Peebles
2017-04-06Implement RemoteStore::queryMissing()Eelco Dolstra
This provides a significant speedup, e.g. 64 s -> 12 s for nix-build --dry-run -I nixpkgs=channel:nixos-16.03 '<nixpkgs/nixos/tests/misc.nix>' -A test on a cold local and CloudFront cache. The alternative is to use lots of concurrent daemon connections but that seems wasteful.
2017-04-06Fix bogus "unexpected Nix daemon error: interrupted by the user"Eelco Dolstra
2017-04-06Add a method to allow hydra-queue-runner to flush the path info cacheEelco Dolstra
2017-04-06nix-daemon: Disable path info cacheEelco Dolstra
This is useless because the client also caches path info, and can cause problems for long-running clients like hydra-queue-runner (i.e. it may return cached info about paths that have been garbage-collected).
2017-04-04Allow default sandbox paths to be overridenEelco Dolstra
E.g. you can now redirect /etc/resolv.conf to a different file.
2017-04-04Make /var/run/nscd/socket optionalEelco Dolstra
Not every distribution uses nscd.