aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-07s3: make scheme configurableDaiderd Jordan
This enables using for http for S3 request for debugging or implementations that don't have https configured. This is not a problem for binary caches since they should not contain sensitive information. Both package signatures and AWS auth already protect against tampering.
2018-12-07Merge pull request #2562 from chawki008/masterEelco Dolstra
Solve hg "abandoned transaction" issue
2018-12-06Solve hg "abandoned transaction" issueCHEIKH Chawki
2018-11-20fetchGit: Drop unnecessary localRefEelco Dolstra
2018-11-20Merge branch 'better-git-cache' of https://github.com/graham-at-target/nixEelco Dolstra
2018-11-20Merge pull request #2216 from dtzWill/fix/curl-760-timeoutEelco Dolstra
download: if there are active requests, never sleep for 10s
2018-11-20Fix typoEelco Dolstra
2018-11-20Merge pull request #2551 from KaiHa/kaiha/libreadline_optionEelco Dolstra
repl: give user the choice between libeditline and libreadline
2018-11-20repl: give user the choice between libeditline and libreadlineKai Harries
The goal is to support libeditline AND libreadline and let the user decide at compile time which one to use. Add a compile time option to use libreadline instead of libeditline. If compiled against libreadline completion functionality is lost because of a incompatibility between libeditlines and libreadlines completion function. Completion with libreadline is possible and can be added later. To use libreadline instead of libeditline the environment variables 'EDITLINE_LIBS' and 'EDITLINE_CFLAGS' have to been set during the ./configure step. Example: EDITLINE_LIBS="/usr/lib/x86_64-linux-gnu/libhistory.so /usr/lib/x86_64-linux-gnu/libreadline.so" EDITLINE_CFLAGS="-DREADLINE" The reason for this change is that for example on Debian already three different editline libraries exist but none of those is compatible the flavor used by nix. My hope is that with this change it would be easier to port nix to systems that have already libreadline available.
2018-11-20repl: Remove code that was commented outKai Harries
2018-11-17Merge pull request #2544 from mayflower/lsnar-allow-fifoEelco Dolstra
nix ls-nar: allow reading from FIFOs
2018-11-16nix ls-nar: allow reading from FIFOsLinus Heckemann
fixes #2528
2018-11-15Fix 'Read-only file system' when building a derivationEelco Dolstra
2018-11-15Merge pull request #2432 from luke-clifton/fixsslEelco Dolstra
SSL certificate search failed to find user profile certificates.
2018-11-13Remove editline expression, not needed anymoreEelco Dolstra
2018-11-13Merge branch 'feature/editline-pr' of https://github.com/dtzWill/nixEelco Dolstra
2018-11-13Restore parent mount namespace before executing a child processEelco Dolstra
This ensures that they can't write to /nix/store. Fixes #2535.
2018-11-13Merge pull request #2534 from obfusk/patch-2Eelco Dolstra
manual: quote $servlets
2018-11-13manual: quote $servletsFelix C. Stegerman
2018-11-12Merge pull request #2533 from obfusk/patch-1Eelco Dolstra
manual: fix typo (s/gift/git/)
2018-11-12fix typo (s/gift/git/)Felix C. Stegerman
2018-11-09Manual: build locally -> buildEelco Dolstra
2018-11-09nix-prefetch-url: Stop progress bar before printing resultsEelco Dolstra
2018-11-09Merge branch 'feature/prefetch-progress' of https://github.com/dtzWill/nixEelco Dolstra
2018-11-09UrghEelco Dolstra
2018-11-09Revert "Bump version"Eelco Dolstra
This reverts commit 5a1a870849d47e198d3690e4befae9b7cd79f098. Counting is hard.
2018-11-08Merge pull request #2526 from mayflower/manual-fixEelco Dolstra
Fix manual build
2018-11-08Fix manual buildLinus Heckemann
This was broken by some missing closing tags in 0bea4a50e03
2018-11-08Merge pull request #2524 from domenkozar/deprecate-toPathEelco Dolstra
Deprecate builtins.toPath
2018-11-08Deprecate builtins.toPathDomen Kožar
2018-11-07Enable sandboxing by defaultEelco Dolstra
Closes #179.
2018-11-07Document allowSubstitutesEelco Dolstra
2018-11-07Fix preferLocalBuild descriptionEelco Dolstra
preferLocalBuild does not in fact prevent substitution.
2018-11-05Bump versionEelco Dolstra
2018-11-01Disable the S3 content-encoding patchEelco Dolstra
Since we're not using multi-part uploads at the moment, we can drop this patch.
2018-11-01Merge pull request #2502 from janpath/patch-1Eelco Dolstra
Fix typo in comments
2018-10-31Fix typo in commentsJan Path
2018-10-31Merge pull request #2501 from mayflower/xdg_config_dirsEelco Dolstra
config: use all of XDG_CONFIG_DIRS
2018-10-31config: use all of XDG_CONFIG_DIRSLinus Heckemann
Previously, config would only be read from XDG_CONFIG_HOME. This change allows reading config from additional directories, which enables e.g. per-project binary caches or chroot stores with the help of direnv.
2018-10-30Remove redundant messageEelco Dolstra
2018-10-30S3BinaryCacheStore: Allow disabling multipart uploadsEelco Dolstra
The use of TransferManager has several issues, including that it doesn't allow setting a Content-Encoding without a patch, and it doesn't handle exceptions in worker threads (causing termination on memory allocation failure). Fixes #2493.
2018-10-30Fix broken uploadProgressCallback closureEelco Dolstra
Since the callback is global we can't refer to 'path' in it. This could cause a segfault or printing of arbitrary data.
2018-10-29Merge pull request #2494 from FPtje/fix-copy-from-oldEelco Dolstra
copyStorePath: Fix hash errors when copying from older store
2018-10-29copyStorePath: Fix hash errors when copying from older storeFalco Peijnenburg
This commit partially reverts 48662d151bdf4a38670897beacea9d1bd750376a. When copying from an older store (in my case a store running Nix 1.11.7), nix would throw errors about there being no hash. This is fixed by recalculating the hash.
2018-10-29editline: 1.15.3 -> 1.16.0Will Dietz
Bump fallback editline expression to latest in nixpkgs.
2018-10-29repl: complete if all matches share prefixWill Dietz
2018-10-29editline: wipWill Dietz
2018-10-29Merge pull request #2495 from LnL7/doctor-exit-codeEelco Dolstra
nix doctor: return nonzero exitcode if a check fails
2018-10-29nix doctor: return nonzero exitcode if a check failsDaiderd Jordan
This makes it easier to use this when testing the installer or when running the checks with other automated tooling.
2018-10-27Restore old (dis)allowedRequisites behaviour for self-referencesEelco Dolstra
stdenv relies on this. So ignore self-references (but only in legacy non-structured attributes mode).