about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-17 Handle SIGINT etc. via a sigwait() signal handler threadEelco Dolstra4-27/+100
This allows other threads to install callbacks that run in a regular, non-signal context. In particular, we can use this to signal the downloader thread to quit. Closes #1183.
2017-01-16 assign environ to a temp variable to ensure livenessJude Taylor1-3/+6
2017-01-16 AutoCloseDir: Use std::unique_ptrEelco Dolstra4-65/+20
2017-01-16 AutoDeleteArray -> std::unique_ptrEelco Dolstra5-24/+10
Also, switch to C++14 for std::make_unique.
2017-01-16 nix-build: Use showManPage() and printVersion()Eelco Dolstra1-7/+3
2017-01-10 builtins.readFile: Put the references of the file, not those needed to ↵Shea Levy1-0/+3
realize the file, into the context
2017-01-09 Merge pull request #1139 from Mic92/masterEelco Dolstra1-6/+2
Simplify remouting with MS_PRIVATE in sandbox build
2017-01-09 Merge pull request #1177 from dezgeg/bash-env-breakageEelco Dolstra1-1/+2
nix-shell: Fix 'nix-shell --command' doing nothing without TTY
2017-01-07 nix-shell: Fix 'nix-shell --command' doing nothing without TTYTuomas Tynkkynen1-1/+2
Regression from a5f2750e ("Fix early removal of rc-file for nix-shell"). The removal of BASH_ENV causes nothing to be executed by bash if it detects itself in a non-interactive context. Instead, just use the same condition used by bash to launch bash differently. According to bash sources, the condition (stdin and stder both must be TTYs) is specified by POSIX so this should be pretty safe to rely on. Fixes #1171 on master, needs a backport to the Perl code in 1.11.
2017-01-03 Drop a few more references to all-packages.nixEelco Dolstra2-13/+6
And also don't refer to f-spot, which apparently no longer exists. Issue #1170.
2017-01-03 Update upload-release scriptEelco Dolstra1-0/+4
2017-01-03 nix-shell: In #! mode, pass the last argumentEelco Dolstra3-16/+14
"i < argc - 1" should be "i < argc".
2017-01-03 Merge pull request #1169 from dezgeg/fix-shell-shebangEelco Dolstra5-2/+74
Fix nix-shell shebang usage
2017-01-03 tests: Add simple tests for nix-shellTuomas Tynkkynen4-1/+72
nix-shell -A, -p and -i are lightly tested.
2017-01-03 nix-shell: Don't act interactive in shebangsTuomas Tynkkynen1-0/+1
I had observed that 'bash --rcfile' would do nothing in a non-interactive context and cause nothing to be executed if a script using nix-shell shebangs were run in a non-interactive context.
2017-01-03 nix-shell: Fix 'nix-shell -i'Tuomas Tynkkynen1-1/+1
The 'args' variable here is shadowing one in the outer scope and its contents end up unused. This causes any '#! nix-shell' lines to effectively be ignored. The intention here was to clear the args vector, as far as I can tell (and it seems to work).
2017-01-02 Provide /var/run/nscd/socket in the sandboxEelco Dolstra1-0/+1
Otherwise sandbox builds can fail, e.g. $ NIX_REMOTE=local?root=/tmp/nix nix-build '<nixpkgs>' -A hello --option build-use-substitutes false ... downloading ‘http://ftpmirror.gnu.org/bash/bash-4.3-patches/bash43-047’... error: unable to download ‘http://ftpmirror.gnu.org/bash/bash-4.3-patches/bash43-047’: Couldn't resolve host name (6)
2017-01-01 Merge pull request #1168 from itsN1X/patch-1Domen Kožar1-1/+1
Readme semantics.
2017-01-01 Readme semantics.N1X1-1/+1
2016-12-28 Merge pull request #1165 from zimbatm/document-no-build-hookDomen Kožar1-0/+17
Document the common --no-build-hook option
2016-12-28 Document the common --no-build-hook optionzimbatm1-0/+17
2016-12-22 Call Aws::InitAPIEelco Dolstra1-1/+17
This is required now.
2016-12-22 Add commentEelco Dolstra1-1/+2
2016-12-22 Merge pull request #1144 from jamesbroadhead/shellcheck_installDomen Kožar1-9/+9
shellcheck scripts/install-nix-from-closure.sh
2016-12-19 shellcheck scripts/install-nix-from-closure.shJames Broadhead1-9/+9
2016-12-19 Revert "Merge branch 'seccomp' of https://github.com/aszlig/nix"Eelco Dolstra6-139/+30
This reverts commit 9f3f2e21edb17dbcd674539dff96efb6cceca10c, reversing changes made to 47f587700d646f5b03a42f2fa57c28875a31efbe.
2016-12-19 Revert "shell.nix: Add libseccomp"Eelco Dolstra1-1/+0
This reverts commit 1df82b62456b3194b3d8be0562e886cf16bf9379.
2016-12-19 Revert "Give root a valid home directory"Eelco Dolstra1-3/+3
This reverts commit ec7d498b72b0e283814c27cbc6c064496f95445d.
2016-12-16 Merge pull request #1154 from LnL7/manual-conf-fileDomen Kožar1-1/+2
manual: add NIX_CONF_DIR to conf-file section
2016-12-16 manual: add NIX_CONF_DIR to conf-file sectionDaiderd Jordan1-1/+2
2016-12-15 Give root a valid home directoryEelco Dolstra1-3/+3
Some programs barf if the current user has a non-writable home directory, e.g. http://hydra.nixos.org/build/44818144.
2016-12-15 Merge branch 'master' of github.com:NixOS/nixEelco Dolstra4-2/+47
2016-12-15 shell.nix: Add libseccompEelco Dolstra1-0/+1
2016-12-15 Merge branch 'seccomp' of https://github.com/aszlig/nixEelco Dolstra6-30/+139
2016-12-13 Merge branch 'base32-overflow' of git://github.com/vcunat/nixShea Levy1-1/+7
2016-12-11 Merge pull request #1153 from lheckemann/path-searchDomen Kožar2-1/+11
Document path-searching behaviour
2016-12-11 Document path-search behaviourLinus Heckemann1-1/+10
2016-12-11 Add missing DBD::SQLite to shell.nixLinus Heckemann1-0/+1
2016-12-09 Document builtins.match, fixes #1145Domen Kožar1-0/+29
2016-12-09 Probably fix a segfault in PathLocksEelco Dolstra1-37/+50
2016-12-08 Don't delete .check directories of running buildsEelco Dolstra2-2/+7
We need to keep them around for diffoscope.
2016-12-08 Fix warning on 32-bit systemsEelco Dolstra1-1/+2
http://hydra.nixos.org/build/44628517
2016-12-08 Fix buildEelco Dolstra1-2/+2
http://hydra.nixos.org/build/44628517
2016-12-08 S3BinaryCacheStore: Ensure it only builds on LinuxEelco Dolstra1-0/+2
2016-12-08 Fix S3BinaryCacheStoreEelco Dolstra4-53/+11
It failed with AWS error uploading ‘6gaxphsyhg66mz0a00qghf9nqf7majs2.ls.xz’: Unable to parse ExceptionName: MissingContentLength Message: You must provide the Content-Length HTTP header. possibly because the istringstream_nocopy introduced in 0d2ebb4373e509521f27a6e8f16bfd39d05b2188 doesn't supply the seek method that the AWS library expects. So bring back the old version, but only for S3BinaryCacheStore.
2016-12-08 Drop unused dblatex referenceEelco Dolstra2-2/+0
2016-12-07 Add a hook to run diffoscope when non-determinism is detectedEelco Dolstra2-7/+33
2016-12-07 Keep track of the exact build start/stop timesEelco Dolstra3-2/+8
2016-12-07 Bail out early when non-determinism is detectedEelco Dolstra1-0/+1
2016-12-07 Expose enforce-determinism and the result to HydraEelco Dolstra1-1/+6