Commit graph

18730 commits

Author SHA1 Message Date
William Carroll
a328b7e240 Updates config to use-package 2017-01-24 15:15:20 -05:00
Eelco Dolstra
4e6a2fbc56
Revert "Propagate path context via builtins.readFile"
This reverts commit f7f0116dd7.

Issue #1174.
2017-01-24 15:31:54 +01:00
Eelco Dolstra
fa738e50bc
Revert "builtins.readFile: Put the references of the file, not those needed to realize the file, into the context"
Reverting commit 451c223dee for now
because it breaks http://hydra.nixos.org/build/46805136, not clear
why.
2017-01-24 15:29:46 +01:00
Eelco Dolstra
4b6d3c5a28
Hopefully fix build on older GCC
http://hydra.nixos.org/build/46805140
2017-01-24 15:28:50 +01:00
Eelco Dolstra
19ce732a13
Fix typo 2017-01-24 13:57:26 +01:00
Eelco Dolstra
e3bf228c92
Enable verbose curl output
Closes #1182.
2017-01-24 13:57:01 +01:00
Shea Levy
3b4a15bd48 build-remote: Use futimes instead of futimens on APPLE 2017-01-24 06:22:02 -05:00
Eelco Dolstra
e5641dfe1e
Work around a bug in clang and older versions of gcc
http://hydra.nixos.org/build/46597440

https://llvm.org/bugs/show_bug.cgi?id=28096
2017-01-24 10:57:24 +01:00
Eelco Dolstra
1102c77919
shell.nix: Add a flag for using clang 2017-01-24 10:53:18 +01:00
William Carroll
2076f42c00 merge(): Pulls latest from master 2017-01-23 18:13:53 -05:00
William Carroll
66345e287b Adds colored cursors; better error handling for Emacs and Vim 2017-01-23 18:05:21 -05:00
William Carroll
4697864db7 Adds convenient alias for git status 2017-01-22 22:46:57 -05:00
Shea Levy
bfa41eb671 nix-copy-closure: Implement in C++.
Tests fail currently because the database is not given proper hashes in the VM
2017-01-20 09:47:58 -05:00
Eelco Dolstra
8af062f372 Merge pull request #981 from shlevy/build-remote-c++
build-remote: Implement in C++
2017-01-19 18:21:55 +01:00
Eelco Dolstra
21948deed9
Kill builds when we get EOF on the log FD
This closes a long-time bug that allowed builds to hang Nix
indefinitely (regardless of timeouts) simply by doing

  exec > /dev/null 2>&1; while true; do true; done

Now, on EOF, we just send SIGKILL to the child to make sure it's
really gone.
2017-01-19 17:16:14 +01:00
Eelco Dolstra
63e10b4d28
Cleanup 2017-01-19 17:06:04 +01:00
Eelco Dolstra
2579e32c2b
Use std::unique_ptr for HookInstance 2017-01-19 17:06:04 +01:00
Eelco Dolstra
90ee1e3fe3
Add a test for --max-silent-time 2017-01-19 17:06:03 +01:00
William Carroll
b15255e605 Adds dired kbd for creating new files without invoking C-x C-f 2017-01-18 23:19:29 -05:00
William Carroll
d1bb761a06 inits file 2017-01-18 23:19:29 -05:00
William Carroll
ca3cb83b3a Update README.md 2017-01-18 23:19:29 -05:00
William Carroll
00e024dc3a Removes mapping for viewport navigation 2017-01-18 23:17:53 -05:00
William Carroll
f0eaaa9e3c Update README.md 2017-01-17 18:00:05 -05:00
William Carroll
8ca1874d15 Adds fish shell rc; supports fish shell in Vim 2017-01-17 17:51:35 -05:00
William Carroll
3958a7c10d Updates Tmux kbds; adds Emacs modes; updates zsh kbds 2017-01-17 17:50:33 -05:00
Eelco Dolstra
cc3b93c991
Handle SIGINT etc. via a sigwait() signal handler thread
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-17 18:21:02 +01:00
Jude Taylor
c0d55f9183 assign environ to a temp variable to ensure liveness 2017-01-16 23:52:44 +01:00
Eelco Dolstra
8079ab87a2 AutoCloseDir: Use std::unique_ptr 2017-01-16 22:39:27 +01:00
Eelco Dolstra
2b9d0a99cb AutoDeleteArray -> std::unique_ptr
Also, switch to C++14 for std::make_unique.
2017-01-16 22:24:49 +01:00
Eelco Dolstra
40dfac968a nix-build: Use showManPage() and printVersion() 2017-01-16 22:11:17 +01:00
William Carroll
461824752c Adds packages; removes others; updates keybindings; etc 2017-01-13 22:01:45 -05:00
Shea Levy
451c223dee builtins.readFile: Put the references of the file, not those needed to realize the file, into the context 2017-01-10 12:22:22 -05:00
Shea Levy
28db297862 build-remote: Don't use C++ streams to read the conf file 2017-01-10 10:36:26 -05:00
Shea Levy
d771c28613 build-remote: Use std::set for feature sets 2017-01-10 10:29:06 -05:00
Eelco Dolstra
7adb986e35 Merge pull request #1139 from Mic92/master
Simplify remouting with MS_PRIVATE in sandbox build
2017-01-09 16:46:59 +01:00
Eelco Dolstra
f61337fdb3 Merge pull request #1177 from dezgeg/bash-env-breakage
nix-shell: Fix 'nix-shell --command' doing nothing without TTY
2017-01-09 16:44:42 +01:00
William Carroll
3286a34d17 Adds flycheck and other packages to Emacs 2017-01-08 20:34:18 -05:00
William Carroll
a6cef66569 Removes dimming effect when Emacs window is unselected 2017-01-08 15:16:31 -05:00
Tuomas Tynkkynen
3890de049d nix-shell: Fix 'nix-shell --command' doing nothing without TTY
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-07 19:08:28 +02:00
William Carroll
328d4b246b Extends configs and colorschemes 2017-01-05 20:39:32 -05:00
William Carroll
f2663c5b37 Merge branch 'master' of https://github.com/wpcarro/pc_settings 2017-01-04 00:12:38 -05:00
William Carroll
c2db736f66 Adds line for TrueColor support 2017-01-04 00:12:24 -05:00
William Carroll
b47dca2ead Adds shell pipeline to test TrueColor support 2017-01-04 00:10:33 -05:00
William Carroll
af0fd4bee0 Adds TrueColor information 2017-01-04 00:02:53 -05:00
William Carroll
ab3f645cb7 Adds new colorscheme, Nova 2017-01-03 22:17:24 -05:00
Matthew Garrett
7a852b2084 Bump version to 0.3 2017-01-03 10:08:06 -06:00
Eelco Dolstra
9000150a78
Drop a few more references to all-packages.nix
And also don't refer to f-spot, which apparently no longer exists.

Issue #1170.
2017-01-03 16:42:24 +01:00
Eelco Dolstra
5d377ace2d
Update upload-release script 2017-01-03 11:42:56 +01:00
Eelco Dolstra
c287e797a8
nix-shell: In #! mode, pass the last argument
"i < argc - 1" should be "i < argc".
2017-01-03 11:40:51 +01:00
Eelco Dolstra
ae1e4dfad2 Merge pull request #1169 from dezgeg/fix-shell-shebang
Fix nix-shell shebang usage
2017-01-03 10:08:15 +01:00