Commit graph

18042 commits

Author SHA1 Message Date
Vincent Ambo
2c02c371fe
fix custom: Fix a bug and truncate theme list 2017-07-30 18:28:03 +02:00
William Carroll
4332e33a74 Documents SSH tooling 2017-07-30 12:13:42 -04:00
Jörg Thalheim
2fd8f8bb99 Replace Unicode quotes in user-facing strings by ASCII
Relevant RFC: NixOS/rfcs#4

$ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
2017-07-30 12:32:45 +01:00
davidak
fcb8d6a7a0 replace "OS X" with "macOS" 2017-07-30 12:28:50 +02:00
davidak
92bcb61127 replace "Mac OS X" with "macOS"
except in older release notes where the name was actually Mac OS X.
2017-07-30 12:26:17 +02:00
William Carroll
a5d8c0d3d0 Removes vim support for Fish shell 2017-07-29 22:34:01 -04:00
William Carroll
6b31bc9091 Formats intro paragraph to README 2017-07-29 22:30:11 -04:00
William Carroll
18116b415f Adds apologia for switching to Python scripts to README 2017-07-29 22:27:36 -04:00
William Carroll
36d60655f4 Adds project management org file 2017-07-29 22:27:00 -04:00
William Carroll
edf8c0b602 Requires evil in fn impl 2017-07-29 21:53:18 -04:00
William Carroll
9f1c997128 Disables emacs startup screen 2017-07-29 21:52:21 -04:00
William Carroll
f65a0c7bbf Simplifies popwin configuration 2017-07-29 21:52:04 -04:00
William Carroll
ee62bf5836 Ensures :w writes buffer even if there is nothing to save 2017-07-29 21:50:50 -04:00
William Carroll
e6eda451b5 Revises custom fns for evil window splitting 2017-07-29 21:50:11 -04:00
William Carroll
b3a40e423c Activates nyan-cat-mode 2017-07-29 21:49:41 -04:00
William Carroll
3ad343ee23 Adds custom kbds for Man mode in emacs 2017-07-29 21:49:05 -04:00
William Carroll
5d8c7aa808 Adds hook to conditionally activate emacs tabbar 2017-07-29 21:47:48 -04:00
William Carroll
577fd84fdb Loads helper functions extern file 2017-07-29 21:47:26 -04:00
William Carroll
81978e700a Misc package updates 2017-07-29 21:46:52 -04:00
William Carroll
cc96fd9618 Removes dead helper fn 2017-07-29 21:45:59 -04:00
William Carroll
84789f0c33 Defines fn to conditionally activate emacs tabbar 2017-07-29 21:45:35 -04:00
William Carroll
3cc2f2bf62 Defines convenience function for quickly fuzzy-finding files 2017-07-29 21:41:52 -04:00
William Carroll
c05c4d7a02 Removes unnecessary tmux cfg line 2017-07-29 21:40:19 -04:00
William Carroll
40d9812e11 Persists erl and iex history with OTP 20 flag 2017-07-29 21:36:25 -04:00
William Carroll
11c71758d7 Defines git helpers for fuzzily adding and diffing files 2017-07-29 21:35:20 -04:00
William Carroll
4c5ea5a5b3 Sets git default push branch 2017-07-29 21:33:03 -04:00
William Carroll
a2f8dbadcf Registers new slate kbds for Atom and Wireshark 2017-07-29 21:31:16 -04:00
William Carroll
bbf63601fd Adds elixir-specific aliases 2017-07-29 21:30:34 -04:00
Eelco Dolstra
c7654bc491
nix-build: Fix regression causing all outputs to be built 2017-07-28 15:17:52 +02:00
Eelco Dolstra
af4689f9e9
nix-prefetch-url: Fix regression in hash printing 2017-07-28 14:56:39 +02:00
Eelco Dolstra
7480f4f9a4
builtins.fetchgit: Support specifying commit hashes
This adds an argument "rev" specififying the Git commit hash. The
existing argument "rev" is renamed to "ref". The default value for
"ref" is "master". When specifying a hash, it's necessary to specify a
ref since we're not cloning the entire repository but only fetching a
specific ref.

Example usage:

  builtins.fetchgit {
    url = https://github.com/NixOS/nixpkgs.git;
    ref = "release-16.03";
    rev = "c1c0484041ab6f9c6858c8ade80a8477c9ae4442";
  };
2017-07-27 18:08:23 +02:00
Eelco Dolstra
9f64cb89cb
builtins.fetchgit: Respect tarball-ttl
I.e. if the local ref is more recent than tarball-ttl seconds, then
don't check the remote.
2017-07-27 17:23:29 +02:00
Eelco Dolstra
69deca194e
builtins.fetchgit: Use proper refs locally 2017-07-27 17:02:25 +02:00
Eelco Dolstra
6d7de7f3de
builtins.fetchgit: Cache hash -> store path mappings
This prevents an expensive call to addToStore() in the cached case.
2017-07-27 16:16:08 +02:00
Eelco Dolstra
57b9505731
nix search: Add a cache
The package list is now cached in
~/.cache/nix/package-search.json. This gives a substantial speedup to
"nix search" queries. For example (on an SSD):

First run: (no package search cache, cold page cache)

  $ time nix search blender
  Attribute name: nixpkgs.blender
  Package name: blender
  Version: 2.78c
  Description: 3D Creation/Animation/Publishing System

  real    0m6.516s

Second run: (package search cache populated)

  $ time nix search blender
  Attribute name: nixpkgs.blender
  Package name: blender
  Version: 2.78c
  Description: 3D Creation/Animation/Publishing System

  real    0m0.143s
2017-07-26 17:29:10 +02:00
Eelco Dolstra
4c9ff89c26
nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store
Note that this removes the need for a derivation symlink, so the
--drv-path and --add-drv-link flags now do nothing.
2017-07-26 17:29:09 +02:00
Eelco Dolstra
c94f3d5575
nix-shell: Use bashInteractive from <nixpkgs>
This adds about 0.1s to nix-shell runtime in the case where
bashInteractive already exists.

See discussion at https://github.com/NixOS/nixpkgs/issues/27493.
2017-07-20 13:50:25 +02:00
Eelco Dolstra
57a30e101b
nix search: Ignore top-level eval errors
$NIX_PATH may contain elements that don't evaluate to an attrset (like
"nixos-config"), so ignore those.
2017-07-20 13:33:13 +02:00
Eelco Dolstra
fc3568e263
FD_SETSIZE check: BuildError -> Error
BuildError denotes a permanent build failure, which is not the case
here.
2017-07-20 13:33:13 +02:00
Eelco Dolstra
b144c4d617
nix search: Add --json flag 2017-07-20 13:33:13 +02:00
Eelco Dolstra
90825dea51
Add "nix search" command 2017-07-20 13:33:13 +02:00
Eelco Dolstra
3162ad5ff4 Merge pull request #1471 from veprbl/fdsetsize
Do not try to fill fd_set with fd>=FD_SETSIZE
2017-07-19 11:15:19 +02:00
Dmitry Kalinkin
d5e1bffd2a
Do not try to fill fd_set with fd>=FD_SETSIZE
This is UB and causes buffer overflow and crash on linux.
2017-07-18 17:51:50 -04:00
Domen Kožar
72462b4b6e Merge pull request #1470 from grahamc/patch-1
Update mailing list.
2017-07-18 14:10:58 +02:00
Graham Christensen
364f75e03a Update mailing list. 2017-07-18 08:04:01 -04:00
Graham Christensen
da2ad30054 Update the mailing list. 2017-07-18 08:02:53 -04:00
Eelco Dolstra
bf6792c0df
Always use base-16 for hashed mirror lookups
In particular, don't use base-64, which we don't support. (We do have
base-32 redirects for hysterical reasons.)

Also, add a test for the hashed mirror feature.
2017-07-17 13:13:18 +02:00
Eelco Dolstra
49304bae81
Make the hashes mirrors used by builtins.fetchurl configurable
In particular, this allows it to be disabled in our tests.
2017-07-17 13:07:08 +02:00
Eelco Dolstra
4ec6eb1fdf
Fix accidental printError 2017-07-17 11:38:15 +02:00
Chris Feng
7d967e7361 Allow customizing workspace indexes
* exwm-workspace.el (exwm-workspace-index-map): New variable for
customizing workspace indexes.
(exwm-workspace--update-switch-history): Use it.
2017-07-16 17:08:24 +08:00