aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-07If fallback is enabled, temporarily disable substituters after a failureEelco Dolstra
Otherwise, we just keep asking the substituter for other .narinfo files, which can take a very long time due to retries/timeouts.
2018-09-07Handle queryPathInfo() failure from substituters when fallback is enabledEelco Dolstra
Fixes #1990.
2018-09-05Convert NIX_COUNT_CALLS to JSON tooEelco Dolstra
2018-09-05Log stats to stderrEelco Dolstra
We shouldn't pollute stdout.
2018-09-05Merge branch 'improve-stats' of https://github.com/cleverca22/nixEelco Dolstra
2018-09-05fetchurl: Respect unpackEelco Dolstra
Fixes #2393.
2018-09-05Merge pull request #2400 from matthewbauer/patch-9Eelco Dolstra
Get effective user in Nix commands
2018-09-04Get effective user in Nix commandsMatthew Bauer
‘geteuid’ gives us the user that the command is being run as, including in setuid modes. By using geteuid to determind id, we can avoid the ‘sudo -i’ hack when upgrading Nix. So now, upgrading Nix on macOS is as simple as: $ sudo nix-channel --update $ sudo nix-env -u $ sudo launchctl stop org.nixos.nix-daemon $ sudo launchctl start org.nixos.nix-daemon or $ sudo systemctl restart nix-daemon
2018-09-04Merge pull request #2397 from dtzWill/fix/reported-dl-size-with-callbackEelco Dolstra
download: fix size reported to progress bar
2018-09-03download: fix size reported to progress barWill Dietz
2018-09-03docs: change expired bzip2.org to archive.orgVladimír Čunát
Fixes #2396.
2018-09-02remove the old text format outputMichael Bishop
2018-09-02Bump versionEelco Dolstra
2018-09-02Release notes tweaksEelco Dolstra
2018-09-01add JSON to NIX_SHOW_STATSMichael Bishop
2018-09-01Merge pull request #2388 from grahamc/graham/document-multi-userEelco Dolstra
Document multi-user installation, and add release notes about it not being the default on 2.1
2018-09-01improve the stats when profilingMichael Bishop
2018-09-01Create upgrade notesGraham Christensen
2018-09-01Merge pull request #2168 from grahamc/explain-why-netrc-is-bustedEelco Dolstra
manual: document why ~/.netrc doesn't work
2018-09-01Merge pull request #2309 from symphorien/disallowed-manEelco Dolstra
add manual entries for disallowedRequisites and disallowedReferences
2018-09-01Merge pull request #2237 from nh2/patch-1Eelco Dolstra
manual: distributed-builds: Mention - as default
2018-09-01release notes: note that the multi-user installer is available but not ↵Graham Christensen
selected for Linux with systemd, and the bug about selinux
2018-09-01Default to single-user installGraham Christensen
2018-09-01Document the multi-user installer someGraham Christensen
Use sh <(...) syntax for installation to preserve stdin and prompting also update installation docs to account for changes in multi-user selection
2018-09-01We support aarch64 nowGraham Christensen
2018-09-01Merge pull request #2384 from graham-at-target/fetch-git-examplesEelco Dolstra
docs: Add some examples to fetchGit
2018-09-01Merge pull request #2391 from grahamc/more-statsEelco Dolstra
Print stats in more programs
2018-08-31nix-build: Print stats even in failing buildsGraham Christensen
2018-08-31nix-build: print stats on sucessful buildsGraham Christensen
2018-08-31Drop ssh://... as a required formatting for builtins.fetchGitGraham Christensen
2018-09-01fetchGit/fetchMercurial: Don't absolutize pathsEelco Dolstra
This is already done by coerceToString(), provided that the argument is a path (e.g. 'fetchGit ./bla'). It fixes the handling of URLs like git@github.com:owner/repo.git. It breaks 'fetchGit "./bla"', but that was never intended to work anyway and is inconsistent with other builtin functions (e.g. 'readFile "./bla"' fails).
2018-09-01nix path-info: Remove trailing spacesEelco Dolstra
Fixes #2390.
2018-09-01Add contributorsEelco Dolstra
2018-08-31Really fix the buildEelco Dolstra
2018-08-31nix path-info: Hopefully fix macOS build failureEelco Dolstra
https://hydra.nixos.org/build/80480356
2018-08-31Merge pull request #2387 from graham-at-target/add-ids-to-important-sectionsEelco Dolstra
docs: Add IDs to important sections
2018-08-31docs: Add IDs to important sectionsGraham Christensen
2018-08-31docs: Add some examples to fetchGitGraham Christensen
2018-08-31Add localhost alias for ::1 to the sandboxEelco Dolstra
2018-08-31Merge pull request #2383 from cleverca22/fix-error-9Eelco Dolstra
fix `error: unknown serve command 9`
2018-08-30fix `error: unknown serve command 9`Michael Bishop
2018-08-30nix upgrade-nix: Handle .nix-profile being a link to .../profiles/per-user/...Eelco Dolstra
Also some cosmetic improvements.
2018-08-30nix upgrade-nix: Improve error message if 'nix' is not in a profileEelco Dolstra
E.g. $ nix upgrade-nix error: directory '/home/eelco/Dev/nix/inst/bin' does not appear to be part of a Nix profile instead of $ nix upgrade-nix error: '/home/eelco/Dev/nix/inst' is not a symlink
2018-08-30Merge branch 'nix-upgrade-profile' of https://github.com/LnL7/nixEelco Dolstra
2018-08-30Add simple test for nix upgrade-nixEelco Dolstra
2018-08-30Merge pull request #2365 from erikarvstedt/fix-docsEelco Dolstra
Docs: Fix install prefix
2018-08-30printSize() fixesEelco Dolstra
Fix a 32-bit overflow that resulted in negative numbers being printed; use fmt() instead of boost::format(); change -H to -h for consistency with 'ls' and 'du'; make the columns narrower (since they can't be bigger than 1024.0).
2018-08-30Avoid overflow and use boost::formatBenjamin Hipple
If the user has an object greater than 1024 yottabytes, it'll just display it as N yottabytes instead of overflowing. Swaps to use boost::format strings instead of std::setw and std::setprecision.
2018-08-30Add human readable closure sizes to nix path-infoBenjamin Hipple
Unfortunately, -h is already taken as a short option by --help, so we have to use a different letter or the capitalized version. Resolves #2363
2018-08-30nix: Remove the -h flagEelco Dolstra