Commit graph

18042 commits

Author SHA1 Message Date
Eelco Dolstra
96051dd057
More progress indicator improvements
Fixes #1599.
2017-10-24 14:47:23 +02:00
Eelco Dolstra
be220702a7
Progress indicator: Show on what machine we're building
E.g.

  $ nix build nixpkgs.hello --builders 'root@wendy'
  [1/0/1 built] building hello-2.10 on ssh://root@wendy: checking for minix/config.h... no
2017-10-24 14:24:57 +02:00
Eelco Dolstra
f8624762ac
build-remote: Work properly on a chrooted store 2017-10-24 14:14:28 +02:00
Eelco Dolstra
fe9d2f974d
Handle log messages from build-remote
This makes the progress indicator show statuses like "connecting to
'root@machine'".
2017-10-24 14:05:22 +02:00
Eelco Dolstra
0d59f1ca49
nix: Respect -I, --arg, --argstr
Also, random cleanup to argument handling.
2017-10-24 12:58:34 +02:00
Eelco Dolstra
25f32625e2
Remove the remote-builds option
This is superfluous since you can now just set "builders" to empty,
e.g. "--builders ''".
2017-10-24 11:00:16 +02:00
Eelco Dolstra
af241ae7d3
Remove the builder-files option
You can now include files via the "builders" option, using the syntax
"@<filename>". Having only one option makes it easier to override
builders completely.

For backward compatibility, the default is "@/etc/nix/machines", or
"@<filename>" for each file name in NIX_REMOTE_SYSTEMS.
2017-10-24 10:54:43 +02:00
Vincent Ambo
2eb27420e1 feat(pkgs): Add pulseaudio-ctl
This is required for i3!
2017-10-24 01:20:25 +02:00
Abseil Team
5fcbe86e7b Changes imported from Abseil "staging" branch:
- 989557e6b443a81b5ad9bd0d0c704edbe96c09c9 Make InlinedVector::ShiftRight update the vector's size -... by Jon Cohen <cohenjon@google.com>
  - ffc2e2a6f169bbfa823890f21d13e16110cd0206 Fix issues when passing references aliasing into an Inlin... by Jon Cohen <cohenjon@google.com>
  - 2fce2f87043f8c044889b4aab828e6edc20da0d9 In C++14 or later, alias absl::make_unique to std::make_u... by Abseil Team <absl-team@google.com>
  - cb83e95b486c59fd6acfa956e97f42253dd158bd Roll back change to avoid weak virtual table warnings (-W... by Abseil Team <absl-team@google.com>
  - fb4ea46062895cb9340166c9dcc61ec4467bd834 Avoid weak virtual table warnings (-Wweak-vtables) and re... by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 989557e6b443a81b5ad9bd0d0c704edbe96c09c9
Change-Id: I6b8119c3f16e9d0cb9b5fd6e750502c9dad8e257
2017-10-23 15:26:40 -04:00
Eelco Dolstra
d4609bb3af
NIX_BUILD_HOOK variable is gone 2017-10-23 20:50:28 +02:00
Eelco Dolstra
37fbfffd8e
Pass all settings to build-remote
This ensures that command line flags such as --builders get passed
correctly.
2017-10-23 20:50:28 +02:00
Eelco Dolstra
f32cdc4fab
Turn $NIX_REMOTE into a configuration option 2017-10-23 20:50:28 +02:00
Eelco Dolstra
38dcd0c4b8
Release note updates 2017-10-23 20:50:28 +02:00
Eelco Dolstra
863a45f1f3
build-remote: Put current load under the store state directory
Fixes the error

  error: opening lock file '/nix/var/nix/current-load/main-lock': Permission denied

when using a chroot store.
2017-10-23 20:50:24 +02:00
Vincent Ambo
2c3ea872d6 refactor: Enable PostgreSQL on both machines 2017-10-23 10:05:47 +02:00
Vincent Ambo
94be3b03ba fix(dotfiles/alacritty): Slightly increase font size 2017-10-23 10:05:20 +02:00
Vincent Ambo
55d35fc19b feat(stallo): Enable PostgreSQL for development 2017-10-23 00:34:50 +02:00
Vincent Ambo
5f5ed214f0 feat(dotfiles/fish): Add Cargo-installed tools to $PATH 2017-10-22 20:45:50 +02:00
Vincent Ambo
6193726fb7 docs: Add note about undefer 2017-10-22 17:40:29 +02:00
Vincent Ambo
4df6ba856b docs: Add README with a bit of explanation 2017-10-22 17:39:06 +02:00
Vincent Ambo
49a553c5c5 feat: Add spooky undefer implementation 2017-10-22 17:35:45 +02:00
Vincent Ambo
ff7b5b42bf feat: Add example with error return 2017-10-22 17:22:14 +02:00
Vincent Ambo
5eec09334b feat: Add Drop-based defer implementation 2017-10-22 17:22:05 +02:00
Vincent Ambo
aabac498e7 chore: Bootstrap Cargo project 2017-10-22 17:21:20 +02:00
Vincent Ambo
dadaa33003 chore: Initial commit 2017-10-22 17:21:11 +02:00
Vincent Ambo
83bbedbb6f feat(adho): Add another wifi network 2017-10-22 01:31:20 +02:00
William Carroll
54e10baa6c Updates vimrc movement kbds 2017-10-20 19:43:08 -04:00
William Carroll
f287a2b3b1 Moves .emacs -> init.el
Need to reconfigure the setup script to symlink init.el to ~/.emacs.d
instead of symlinking it to ~/. This change is better in the long run.
2017-10-20 19:41:47 -04:00
Vincent Ambo
ba3a9c53eb feat(desktop): Install some more fonts
Adds fonts that will be useful for switching to i3status-rust and its
powerline mode!
2017-10-21 00:33:54 +02:00
Vincent Ambo
9b7810ae42 style(all): Consistently use block/attr format & clean up 2017-10-21 00:33:39 +02:00
Vincent Ambo
bc1f098bac feat(dotfiles/fish): re-enable VCS prompt colour hints 2017-10-21 00:09:32 +02:00
Vincent Ambo
e86392b55a feat(dotfiles/fish): Alias ls to exa
Old habits die hard, but I really want more Rust in my userland.
2017-10-21 00:05:49 +02:00
Vincent Ambo
d7ae1b70d3 fix(dotfiles): Overwrite default NixOS fish config
NixOS by default adds some fish-config setup that I don't think I
want, but it's a bit unclear what the goal of it is.

I've overwritten it now and things still work fine!
2017-10-21 00:05:49 +02:00
Vincent Ambo
b67fca345a feat(dotfiles): Add alacritty configuration 2017-10-21 00:05:49 +02:00
Vincent Ambo
8cf6fb0360 feat(dotfiles): Add rofi configuration 2017-10-21 00:05:49 +02:00
Vincent Ambo
106ca20940 feat(dotfiles): Add fish-shell & tmux configuration 2017-10-21 00:05:49 +02:00
Vincent Ambo
7fe75e0138 feat(dotfiles): Begin controlling various dotfiles from Nix
Moves my i3 configuration into a nix derivation called 'tazjins-dotfiles'.

A good step towards fully declarative system configuration!
2017-10-21 00:05:49 +02:00
Vincent Ambo
a8a9bf1300 feat(pkgs): Add mq-cli package 2017-10-20 21:47:26 +02:00
Vincent Ambo
30f101e75d feat: Install iftop 2017-10-20 21:47:26 +02:00
Vincent Ambo
19f165484b feat(adho): Configure larger local POSIX queue sizes
Required for some testing at work.
2017-10-20 21:47:26 +02:00
Vincent Ambo
2d80f468d0 fix(pkgs): Use correct IntelliJ IDEA version
I actually have an Ultimate license, so I should probably use that.
2017-10-20 21:47:26 +02:00
Vincent Ambo
8fe1795f16 feat(adho): Enable bluetooth 2017-10-20 21:47:22 +02:00
Vincent Ambo
2c71e092f6 refactor: Compatibility with Rust 1.20
for_each was stabilised in 1.21, but is not yet available in all
distributions.
2017-10-20 21:40:25 +02:00
Vincent Ambo
d742c6526b feat: Add send command
Adds a command that can be used to send simple messages.

In the future this may also accept arguments from stdin to send
non-text messages.
2017-10-20 17:30:45 +02:00
Vincent Ambo
a023e05474 feat: Add receive command
Adds a command to receive a single message from a queue.
2017-10-20 17:30:45 +02:00
Vincent Ambo
232cf36f20 chore(cargo): Bump version to 0.1.2 2017-10-20 17:19:46 +02:00
Vincent Ambo
e22ad15329 fix(error): Module should be public 2017-10-20 17:18:59 +02:00
Vincent Ambo
23ac0eef87 refactor: More sensible CLI structure 2017-10-20 13:17:00 +02:00
Vincent Ambo
79a27f8f0d feat(build): Add Travis-CI configuration 2017-10-20 13:17:00 +02:00
Vincent Ambo
44e72884a6 feat: Add create command
Adds a command to create message queues with custom parameters.
2017-10-20 13:17:00 +02:00