Commit graph

18730 commits

Author SHA1 Message Date
William Carroll
9d8ca32658 Adds .misc_function.sh to project 2016-07-07 23:21:16 -04:00
Eelco Dolstra
8a41792d43 Merge pull request #959 from aszlig/fix-docbook-xsl-ns
Don't hardcode docbook XSL namespace URL
2016-07-04 21:26:29 +02:00
aszlig
72fb2ccfa1
Don't hardcode docbook XSL namespace URL
Docbook XSL got updated to version 1.79.1 in NixOS/nixpkgs@fb893a8 and
we're still referring to the hardcoded previous version.

So instead of just updating this to 1.79.1 we're going to use "current"
in the hope that this won't happen again.

I have tested this by building the manual under Nix(OS) but I haven't
tested this in a non-Nix environment, so I'm not sure whether this could
have implications.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @edolstra
2016-07-04 20:13:20 +02:00
William Carroll
16f03771d4 Updates Sublime Text packages 2016-07-01 11:22:12 -04:00
Timothy Allen
91bec54016 nix.spec.in: RHEL 7/CentOS 7 supports systemd. 2016-07-01 14:09:45 +10:00
Timothy Allen
3a535abbc7 nix.spec.in: Create /nix/store at install time.
Since we now chmod /nix/store at install time, we don't need to do it in the
post install script. We still chgrp in the post-install, because the nixbld
group doesn't exist at install time.
2016-07-01 14:09:42 +10:00
Timothy Allen
0610486d61 nix.spec.in: RHEL 7/CentOS 7 do not require a group for each package. 2016-07-01 14:09:40 +10:00
Timothy Allen
f32c6ed873 nix.spec.in: Build from the .tar.xz file.
The Nix download page only mentions the .xz source tarball, so that's what
people are likely to have available. This means that somebody who downloads a
Nix source tarball can turn it directly into an RPM with `rpmbuild -ta
nix-*.tar.xz`.
2016-07-01 14:09:37 +10:00
Timothy Allen
85ec6a6a44 nix.spec.in: Use the default build group name.
Nix expects build users to be in the "nixbld" group. You can change that in the
config file, but `nix.spec` does not ship with a config file, so we should
use the defaults.
2016-07-01 14:09:33 +10:00
William Carroll
b3df0985b1 updates slice function to use shell supported string slicing 2016-06-29 17:59:44 -04:00
William Carroll
bd2d3361c1 Adds new bindkey for vi insert mode 2016-06-27 22:59:20 -04:00
Emery Hemingway
34ec98176e fixup "Colorize"
Do not quote escape sequence macro
2016-06-25 13:40:50 +02:00
Emery Hemingway
eaabcba1c3 Colorize
Berlin NixOS meetup
2016-06-25 13:28:27 +02:00
William Carroll
a8b8bf3716 Updates .zsh_profile to add syntax highlighting 2016-06-24 13:34:33 -04:00
William Carroll
b0d017e15c Adds new script to retrieve bash escape codes 2016-06-24 12:20:53 -04:00
William Carroll
00c2bdc988 Adds new script to retrieve URL escape codes 2016-06-24 12:20:06 -04:00
William Carroll
0166fe0c48 Adds link to user-defined keybindings 2016-06-23 11:15:29 -04:00
William Carroll
92fda93003 Hyperlinks to user settings 2016-06-23 11:13:30 -04:00
William Carroll
28804c7bd2 Creates file to host personal settings 2016-06-23 11:12:16 -04:00
William Carroll
41d3e0f015 Extends keybindings by namespacing REPL
use super+shift+r followed by "p" for Python and "j","s" for Node environments
2016-06-23 11:07:41 -04:00
William Carroll
3fe3a44c22 Updates keybinding to support REPL 2016-06-23 10:45:43 -04:00
William Carroll
c5afe9c666 Updates README with another package 2016-06-23 10:25:54 -04:00
William Carroll
583447bc18 Removes key-bindings snippet
File is included in the root directory now
2016-06-22 16:37:27 -04:00
William Carroll
ec166d69a1 Adds user-defined key-bindings 2016-06-22 16:36:54 -04:00
William Carroll
46b758d648 Adds another git function
Adds function to search git branches for a ticket number

`$ wgcheckout "$(wgfind 1045)"`
2016-06-22 11:00:31 -04:00
William Carroll
f5706af337 Updates functions to add setInterval analogue 2016-06-21 09:59:34 -04:00
Eelco Dolstra
74dd603495 Re-implement negative binary cache lookup caching 2016-06-20 17:39:05 +02:00
Eelco Dolstra
fffacd7c78 Fix manual build
http://hydra.nixos.org/build/36944270
2016-06-20 16:55:22 +02:00
Eelco Dolstra
f94a804ced Restore instructions on how to install a binary tarball
Looks like these were accidentally commented out in
9ffc4f4363.
2016-06-17 15:26:10 +02:00
Eelco Dolstra
e95f3c4443 Fix test
http://hydra.nixos.org/build/36631898
2016-06-17 15:26:10 +02:00
Chris Feng
4a1b177bce Allow buffer-local simulation keys
* exwm-input.el (exwm-input-set-local-simulation-keys): New function for
setting buffer-local simulation keys.
(exwm-input--local-simulation-keys): New internal variable.
(exwm-input--update-simulation-prefix-keys): Modify either
`exwm-mode-map' or the local keymap accordingly.
2016-06-17 18:45:34 +08:00
Chris Feng
38332925d0 * exwm-layout.el (exwm-layout--show): Resize the X window
if the minibuffer is active but with line height 1.
2016-06-17 13:30:24 +08:00
Eelco Dolstra
6a5f9c86f6 Merge pull request #939 from discordianfish/patch-1
Remove nix-copy-closure reference note from nix-store docs
2016-06-16 10:25:45 +02:00
William Carroll
636347304d Extends git_functions.sh
* Adds function to export the previous git branch to the environment
* Adds function to get the current branch you're on
* Adds function to get the current ticket for the branch you're on
2016-06-15 10:23:27 -04:00
Johannes 'fish' Ziemke
df7e9b6d68 Remove nix-copy-closure reference note from nix-store docs
nix-copy-closure is not using nix-store directly anymore.
2016-06-15 15:58:13 +02:00
William Carroll
ea5c662b67 Updates Sublime Text packages 2016-06-14 10:19:54 -04:00
William Carroll
051ba18d9a Updates README with software 2016-06-14 10:18:09 -04:00
Eelco Dolstra
c68e5913c7 Run builds in a user namespace
This way, all builds appear to have a uid/gid of 0 inside the
chroot. In the future, this may allow using programs like
systemd-nspawn inside builds, but that will require assigning a larger
UID/GID map to the build.

Issue #625.
2016-06-09 18:30:39 +02:00
Eelco Dolstra
202683a4fc Use O_CLOEXEC in most places 2016-06-09 16:37:08 +02:00
William Carroll
65f46f207c Adds sublime text package 2016-06-08 10:08:33 -04:00
William Carroll
955b8ac620 adds package to Sublime Text config 2016-06-08 09:35:53 -04:00
Eelco Dolstra
9bdd949cfd Fix "creating statement: table ValidPaths has no column named ultimate" 2016-06-03 16:06:42 +02:00
Eelco Dolstra
5e51ffb1c2 Support sandbox builds by non-root users
This allows an unprivileged user to perform builds on a diverted store
(i.e. where the physical store location differs from the logical
location).

Example:

  $ NIX_LOG_DIR=/tmp/log NIX_REMOTE="local?real=/tmp/store&state=/tmp/var" nix-build -E \
    'with import <nixpkgs> {}; runCommand "foo" { buildInputs = [procps nettools]; } "id; ps; ifconfig; echo $out > $out"'

will do a build in the Nix store physically in /tmp/store but
logically in /nix/store (and thus using substituters for the latter).
2016-06-03 15:59:28 +02:00
Eelco Dolstra
2f8b0e557b Consistent quotes 2016-06-03 14:03:09 +02:00
Eelco Dolstra
080d607975 Don't call shared_from_this() from a destructor 2016-06-03 14:02:44 +02:00
Eelco Dolstra
30c8c3ba2d Fix some more references to storeDir 2016-06-03 14:02:44 +02:00
Eelco Dolstra
a8dfdc52b8 Merge pull request #925 from abbradar/master
Show both cycle ends
2016-06-03 13:58:51 +02:00
Nikolay Amiantov
c87a56f4d0 Show both cycle ends 2016-06-03 14:25:37 +03:00
Eelco Dolstra
75361b6dce Fix narrowing conversion from int64_t to bool
http://hydra.nixos.org/build/36613774
2016-06-03 13:20:46 +02:00
Eelco Dolstra
f8a8b4d8f8 nix run: Set a reasonable uid/gid 2016-06-02 19:04:09 +02:00