aszlig
6567ab95a0
build-remote: Fix missing log output
...
The storeUri variable in the build-remote hook is declared very much to
the start of the main function and a bunch of lines later, the same
variable gets checked via hasPrefix() but it gets assigned *after* that
check when the most suitable machine for the build was choosen.
So I guess this was just a typo in d16fd24973
and what we really want is to either checkd the prefix *after* assigning
storeUri or use bestMachine->storeUri directly.
I choose the latter, because the former could introduce even more
regressions if the try block where the variable gets assigned terminates
early.
Nevertheless, the reason why the log output didn't work is because
hasPrefix() checked for "ssh://" in front of storeUri, but if the
storeUri isn't set correctly (or at all), we don't get the log file
descriptor set up properly, leading to no log output.
I've adjusted the remote-builds test to include a regression test for
this, so that we can make sure we get a build output when using remote
builds.
In addition to that I've tested this with two of my build farms and the
build logs are emitted correctly again.
Signed-off-by: aszlig <aszlig@nix.build>
2017-11-25 01:34:18 +01:00
Eelco Dolstra
549c3706a5
nix path-info: Show URL of NARs in binary caches
2017-11-24 18:08:50 +01:00
Eelco Dolstra
90948a4e3a
nix-shell/nix-build: Support .drv files again
...
Fixes #1663 .
Also handle '!<output-name>' (#1694 ).
2017-11-24 18:08:35 +01:00
Vincent Ambo
5b946a930c
fix(lisp): Actually require lisp-setup in init.el
2017-11-24 16:45:12 +01:00
Shea Levy
eedbc4e06c
fetchGit: Ignore tarballTtl if rev is set and not in the repo.
...
Fixes #1697 .
2017-11-24 06:09:24 -05:00
Vincent Ambo
ab11ea2176
feat(adho): Add BrewDog network
2017-11-24 09:28:15 +01:00
Vincent Ambo
f2403271ec
feat(pkgs): Install SBCL & friends
2017-11-24 09:28:05 +01:00
Vincent Ambo
f93f03661b
feat(functions): Add function to toggle final-newline behaviour
2017-11-22 23:55:21 +01:00
Vincent Ambo
4dce87d1e2
feat(lisp): Add basic Common Lisp settings
2017-11-22 23:55:01 +01:00
Vincent Ambo
ff7a9576b2
fix(kubernetes): Don't open overview in full-frame mode
2017-11-22 23:54:38 +01:00
Eelco Dolstra
0fc3e581e0
tests/run.sh: Fix /build conflict when building in a sandbox
...
https://hydra.nixos.org/build/64519355
2017-11-21 19:43:12 +01:00
Eelco Dolstra
d7da6c9ea9
fetchGit/fetchMercurial: Fix directory inclusion check
...
E.g. the existence of .gitignore would cause .git to be included.
2017-11-21 19:34:46 +01:00
Eelco Dolstra
6cdaa858d0
Propagate flags like --sandbox to the daemon properly
2017-11-21 18:50:56 +01:00
Eelco Dolstra
7536fe31dd
Add a warning about the 'trusted-users' option
2017-11-21 18:49:52 +01:00
Vincent Ambo
bfad4a3932
feat(license): Relicense under GPLv3
...
All further kontemplate source code changes and releases will happen under the GPLv3.
Previous releases are still available under the MIT license.
2017-11-21 11:46:27 +01:00
Vincent Ambo
7e0a55f697
feat(adho): Add a few more wifi networks
2017-11-20 22:00:50 +01:00
Eelco Dolstra
4fcf44825f
Add tests for verifying/copying content-addressed paths
...
These don't require signatures.
2017-11-20 19:11:02 +01:00
Eelco Dolstra
0c9718aabc
Add tests for signature checking when copying between local stores
2017-11-20 19:02:57 +01:00
Eelco Dolstra
8df60b4ea8
Document secret-key-files
2017-11-20 18:51:04 +01:00
Eelco Dolstra
4cde04f476
Add tests for "nix run"
2017-11-20 18:36:36 +01:00
Eelco Dolstra
f5f29dc2b7
nix eval --raw: Use coerceToString()
...
Thus,
$ nix eval --raw '("foo")'
foo
$ nix eval --raw nixpkgs.hello
/nix/store/1y6ckg6khrdsvll54s5spcmf3w6ka9k4-hello-2.10
$ nix eval --raw '(/etc/resolv.conf)'
/nix/store/vml92ama92i8mz013nny461mlvg8mvap-resolv.conf
2017-11-20 18:27:29 +01:00
Eelco Dolstra
1ff01187e2
nix run: Fix "flag '--command' requires 2 argument(s)"
2017-11-20 18:07:58 +01:00
Eelco Dolstra
4eb9e20028
nix run: Fix accidental removal of /nix/store existence check
...
Parenthetical to #1686 , we don't need to create a new root if we can
just bind-mount on top of the existing /nix/store.
2017-11-20 17:59:32 +01:00
Eelco Dolstra
a3aa850f0f
nix run: Ignore non-directories while setting up the chroot
...
Fixes #1686 .
2017-11-20 17:58:47 +01:00
Eelco Dolstra
193330d321
Test: Replace --option with the corresponding flag
2017-11-20 17:50:49 +01:00
Eelco Dolstra
91a1987607
signed-binary-caches -> require-sigs
...
Unlike signed-binary-caches (which could only be '*' or ''),
require-sigs is a proper Boolean option. The default is true.
2017-11-20 17:44:07 +01:00
Vincent Ambo
3cd22f2878
feat: Show backtraces for failed cargo commands
2017-11-20 17:36:24 +01:00
Vincent Ambo
553b38ea76
feat(pkgs): Install Racket mode
2017-11-20 17:35:59 +01:00
Vincent Ambo
1eab9e4b25
feat(pkgs): Add geiser & helm extensions
2017-11-20 17:35:25 +01:00
Vincent Ambo
3c0622afe6
feat(helm): Always split inside of active window
2017-11-20 17:34:28 +01:00
Eelco Dolstra
d0b88db441
Cleanup
2017-11-20 17:32:58 +01:00
Eelco Dolstra
7a2b64e55c
binary-cache-public-keys -> trusted-public-keys
...
The name had become a misnomer since it's not only for substitution
from binary caches, but when adding/copying any
(non-content-addressed) path to a store.
2017-11-20 17:32:34 +01:00
Eelco Dolstra
ea94a87493
install-darwin-multi-user.sh: Remove superfluous nix.conf settings
2017-11-20 17:32:34 +01:00
Eelco Dolstra
72804dc0bd
Merge pull request #1645 from twhitehead/stat-race
...
Fix (highly unlikely) race condition in readLink
2017-11-20 17:32:27 +01:00
Eelco Dolstra
7474ac871b
nix copy: Abbreviate "daemon"
2017-11-20 15:17:11 +01:00
Vincent Ambo
75fc7a0cc1
fix(nixos): Disable the rather unstable EXWM compositor
2017-11-20 14:19:18 +01:00
Vincent Ambo
a9866504ea
fix(look-and-feel): Transparent emacs gets old fast
2017-11-20 13:21:39 +01:00
Vincent Ambo
7a41f8cd22
chore: Remove unused dependencies
...
(well, dash was technically a duplicate)
2017-11-18 23:20:11 +01:00
Vincent Ambo
dd9d8af25b
feat(nixos): Make helm "dmenu alternatives" work similar to i3
2017-11-18 23:19:30 +01:00
Vincent Ambo
06cf685a88
feat(nixos): Configure pulseaudio volume keys
2017-11-18 23:19:15 +01:00
Vincent Ambo
f18e578c4b
feat(nixos): Add key binding for starting i3lock
2017-11-17 18:24:27 +01:00
Vincent Ambo
051c111646
feat(nixos): Map brightness keys to light command
2017-11-17 16:12:40 +01:00
Vincent Ambo
78f65fbc18
fix(settings): Make ace-window behave sanely
2017-11-17 10:32:56 +01:00
Vincent Ambo
5ee1e9387d
feat(image): Install git in kontemplate image
2017-11-16 15:10:31 +01:00
Vincent Ambo
a564cd4112
fix(nixos): Let buffers move between workspaces
2017-11-15 21:00:59 +01:00
Vincent Ambo
a260bf9e8d
fix(settings): Show time in 24h format
2017-11-15 21:00:38 +01:00
Vincent Ambo
87a385557e
feat(modes): Enable company-mode for elisp by default
2017-11-15 20:59:51 +01:00
Vincent Ambo
586148bd52
feat(nixos): Show time in the mode line
2017-11-15 20:46:56 +01:00
Vincent Ambo
eb67c739b2
feat: Use ace-window for jumping between windows
2017-11-15 18:56:23 +01:00
Vincent Ambo
b7a5dd0c1b
feat(nixos): Enable EXWM compositor
2017-11-15 18:56:01 +01:00