Commit graph

18730 commits

Author SHA1 Message Date
Eelco Dolstra
7b09e9f2c4 Add hacking notes plus a script for running nix-shell 2013-07-19 16:51:31 +02:00
Eelco Dolstra
15e5ac8039 nix-shell: Set $IN_NIX_SHELL
This allows scripts to distinguish between a real build and a Nix
shell.
2013-07-19 14:32:05 +02:00
Eelco Dolstra
48858ad5ca nix-shell: Set some environment variables also set by build.cc
Setting $NIX_STORE causes the purity checks in gcc/ld-wrapper to kick
in, so that's why we unset $NIX_ENFORCE_PURITY.
2013-07-19 14:06:58 +02:00
Vincent Ambo
f61db0ceef emacs: Added functions from ESK, removed rcirc connect function, added scripts folder to load path 2013-07-19 13:57:13 +02:00
Eelco Dolstra
2bc5de8635 Rename ‘nix-build --run-env’ to ‘nix-shell’ 2013-07-19 12:02:44 +02:00
Eelco Dolstra
dc5f2e7da6 nix-build --run-env: Add a ‘--pure’ flag
This causes the environment to be (almost) cleared, thus giving a
shell that more closely resembled the actual Nix derivation.
2013-07-19 11:23:32 +02:00
Eelco Dolstra
a4921b8ceb Revert "build-remote.pl: Enforce timeouts locally"
This reverts commit 69b8f9980f.

The timeout should be enforced remotely.  Otherwise, if the garbage
collector is running either locally or remotely, if will block the
build or closure copying for some time.  If the garbage collector
takes too long, the build may time out, which is not what we want.
Also, on heavily loaded systems, copying large paths to and from the
remote machine can take a long time, also potentially resulting in a
timeout.
2013-07-18 12:52:29 +02:00
Shea Levy
16591eb3cc Allow bind-mounting regular files into the chroot
mount(2) with MS_BIND allows mounting a regular file on top of a regular
file, so there's no reason to only bind directories. This allows finer
control over just which files are and aren't included in the chroot
without having to build symlink trees or the like.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-15 16:01:33 +02:00
Vincent Ambo
eadc09e76f emacs: Fixed voices 2013-07-15 13:42:08 +02:00
Vincent Ambo
9342b6e56f emacs: Added speak function 2013-07-15 13:34:18 +02:00
Vincent Ambo
23806edd3e emacs: Some bindings and word jumping 2013-07-15 01:06:32 +02:00
Vincent Ambo
a5f4b2f479 emacs: Nyan cat mode! 2013-07-15 00:02:08 +02:00
Vincent Ambo
dc0e8b9871 emacs: Add racket things 2013-07-14 23:51:01 +02:00
Vincent Ambo
d23221d243 emacs: Added a custom-git-clone function 2013-07-14 23:50:24 +02:00
Vincent Ambo
0de09c890d emacs: Changed rainbow-delimiters colours to those from Solarized
theme (very visible on Gruber Darker, I like it!) and forcing show-parens-mode
2013-07-14 18:08:44 +02:00
Eelco Dolstra
c3f5413e80 Fix syntax error in unpack-channel 2013-07-12 14:06:05 +02:00
Eelco Dolstra
aeb810b01e Garbage collector: Don't follow symlinks arbitrarily
Only indirect roots (symlinks to symlinks to the Nix store) are now
supported.
2013-07-12 14:03:36 +02:00
Gergely Risko
25a00cae5b Add gzip support for channel unpacking 2013-07-12 11:29:37 +02:00
Domen Kožar
620d57f036 doc: typo 2013-07-12 11:27:43 +02:00
Eelco Dolstra
6fcc290619 build-remote.pl: Move "building ..." message to a better place 2013-07-11 17:16:45 +02:00
Eelco Dolstra
ed09d0c0a4 nix-build --run-env: Always use Bash
Fixes #113.
Fixes #131.
2013-07-11 14:40:29 +02:00
Eelco Dolstra
656390062a nix-build --run-env: Source $stdenv/setup in the interactive shell
This ensures that not just environment variables are set, but also
shell functions such as unpackPhase, configurePhase and so on.
2013-07-11 14:32:22 +02:00
Vincent Ambo
d2311f48f6 emacs: add /usr/local/bin to emacs' $PATH 2013-07-10 14:32:09 +02:00
Vincent Ambo
f2d23b8182 fish: Set EDITOR variable and edit function to use -n and -create-frame option in emacsclient 2013-07-10 11:39:13 +02:00
Vincent Ambo
c5f6606f63 emacs: Switched font 2013-07-09 14:04:58 +02:00
Vincent Ambo
b65611db02 emacs: Initial mail settings 2013-07-08 18:55:16 +02:00
Vincent Ambo
f2c32a12be emacs: Completely removed starter-pack, shuffling dependencies 2013-07-08 18:54:54 +02:00
Vincent Ambo
51fdc2a295 emacs: Fixed browser setting (by removing it!) 2013-07-08 17:51:08 +02:00
Vincent Ambo
9961463ad7 emacs: Switched Haskell indent mode 2013-07-08 16:59:35 +02:00
Vincent Ambo
0ebbf64fd1 Emacs: Added a function to reconnect rcirc 2013-07-08 16:55:56 +02:00
Vincent Ambo
74d252df97 Emacs: Added init-bindings.el, removed starter-kit-bindings 2013-07-08 16:54:54 +02:00
Vincent Ambo
4454fca696 Emacs: Added another theme (Gruber Darker), added a toggle for
fullscreen mode (M-RET)
2013-07-08 02:18:19 +02:00
Vincent Ambo
802f0f4213 emacs: Loading hooks + disabling hl-line-mode globally (I really don't
like it)
2013-07-08 01:52:03 +02:00
Vincent Ambo
977f658cf7 emacs: Fetch switch-window from Github 2013-07-08 01:39:36 +02:00
Vincent Ambo
7e66456fc0 emacs: Added a function to download a custom script 2013-07-08 01:39:10 +02:00
Vincent Ambo
50ec87400c emacs: Moved some configurations around and fixed init-modes.el 2013-07-08 01:31:03 +02:00
Vincent Ambo
0d133eceb3 Split up configuration in five files. I wrote a nice commit message explaining this, but I wrote it in vi and it died on me. 2013-07-08 01:15:05 +02:00
Vincent Ambo
90f95a6a3d Emacs: Added file init-functions.el which I'll use for handy functions 2013-07-08 00:16:17 +02:00
Vincent Ambo
c8dc574fcd emacs:
- Move to Emacs.app (which doesn't work with Xnomad! :( But it's
goood)
- Add clojure-mode
- Switch to leuven theme (again, thanks @pcarrier)
2013-07-07 22:03:29 +02:00
Ludovic Courtès
212e96f39c Leave `HAVE_HUP_NOTIFICATION' undefined on GNU/Hurd. 2013-07-07 13:21:06 +02:00
Vincent Ambo
62f609b47f emacs: Swedish locales & ace-jump 2013-07-05 00:28:47 +02:00
Vincent Ambo
a5a7db8f1b emacs: Added clojure stuff 2013-07-04 22:49:26 +02:00
Vincent Ambo
b3940040a2 emacs: Added rainbow-delimiters and other things 2013-07-04 18:54:31 +02:00
Vincent Ambo
e7c303a6a3 Added some tweaks (taken from @pcarrier's config! :)) 2013-07-04 14:35:37 +02:00
Vincent Ambo
3facbfcaab emacs: start server automatically 2013-07-04 12:10:05 +02:00
Vincent Ambo
ec8571ac09 fish: removed whoami from prompt 2013-07-04 12:08:59 +02:00
Vincent Ambo
ea7e25d25d Updated fish shell with VC prompt and right pwd 2013-07-04 11:58:15 +02:00
Vincent Ambo
613c12af10 Updated fish config 2013-07-04 11:21:28 +02:00
Eelco Dolstra
b584a42e3d Manual: auto-optimise-store is disabled by default 2013-07-03 18:35:59 +02:00
Vincent Ambo
75d437e45a * added markdown-mode 2013-07-02 23:13:15 +02:00