lix-releng-staging/doc/manual
Matthias Beyer 2ec9d2fb02 NIX_REMOTE_SYSTEMS path must be absolute (#957)
Once upon a time, I wrote my bachelors thesis about functional
deployment mechanisms.

I had to evaluate several szenarios where package management and
deployment were relevant. One szenario was to do distributed builds
over several machines.

I told myself: Weee, nix can do this! And with nix, this is actually
save, as you do not have side effects when building!

So I started. I use a cloud to set up four virtual machines where I
wanted to do the build. A fifth machine was used as master to distribute
the builds. All was good.

I created the necessary SSH keys, made sure every machine was reachable
by the master and configured the build in my remotes.conf.

When I started to try to build weechat from source, the build failed. It
failed, telling me

    error: unable to start any build; either increase ‘--max-jobs’ or enable distributed builds

And I started to dig around. I digged long and good. But I wasn't able
to find the issue.

I double and triple checked my environment variables, my settings, the
SSH key and everything.

I reached out to fellow Nixers by asking on the nixos IRC channel. And I
got help. But we weren't able to find the issue, either.

So I became frustrated. I re-did all the environment variables.

And suddenly,... it worked! What did I change? Well... I made the
environment variables which contained pathes contain absolute pathes
rather than relatives.

And because I like to share my knowledge, this should be put into the
documentation, so others do not bang their heads against the wall
because something is not documented somewhere.
2016-07-21 11:19:21 +02:00
..
advanced-topics NIX_REMOTE_SYSTEMS path must be absolute (#957) 2016-07-21 11:19:21 +02:00
command-ref Fix manual build 2016-06-20 16:55:22 +02:00
expressions Merge pull request #576 from qknight/args_explanation 2016-05-30 23:40:17 +01:00
figures Fix corrupt PNG 2013-08-21 12:53:51 +02:00
glossary Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
images/callouts Add docbook icons to the distribution 2014-04-09 14:52:43 +02:00
installation documentation: mention required openssl dependency (#974) 2016-07-20 15:02:29 +02:00
introduction context for introducing runtime dependencies 2016-02-18 23:29:00 -06:00
packages doc: remove wrong phrase. 2015-01-05 15:08:53 +01:00
release-notes Merge pull request #762 from ctheune/ctheune-floats 2016-02-12 12:49:59 +01:00
troubleshooting ReiserFS -> ext4 2014-12-13 23:23:19 +01:00
hacking.xml Manual: Typo 2014-07-16 11:21:44 +02:00
local.mk Don't hardcode docbook XSL namespace URL 2016-07-04 20:13:20 +02:00
manual.xml edition -> subtitle 2015-01-02 12:53:32 +01:00
nix-lang-ref.xml * Various updates. 2009-11-05 09:07:43 +00:00
quote-literals.xsl Generate release notes again 2014-03-12 14:24:29 +01:00
schemas.xml * Document setuid Nix installs. 2004-10-31 17:08:48 +00:00
style.css Style 2014-12-13 23:21:14 +01:00