nixpkgs/nixos
Bjørn Forsman 67723df930 nixos/jenkins: rework environment handling
Jenkins gets (by default) an additional environment of

  { NIX_REMOTE = "daemon"; }

This has the following problems:

  1. NIX_REMOTE disappears when users specify additional environment
     variables, because defaults have low merge priority.
  2. nix cannot be used without additional NIX_PATH envvar, which is
     currently missing.
  3. If you try to use HTTPS, you'll see that jenkins lacks
     SSL_CERT_FILE envvar, causing it to fail.

This commit adds config.environment.sessionVariables and NIX_REMOTE to
the set of variables that are always there for jenkins, making nix and
HTTPS work out of the box.

services.jenkins.environment is now empty by default.
2015-10-04 20:04:00 +02:00
..
doc/manual rl-1509.xml: Gnome -> GNOME 2015-10-01 12:53:27 +02:00
lib Fix Nix database in generated images 2015-09-28 14:47:48 +02:00
maintainers Hack to parallelize AMI copying 2015-09-29 14:54:12 +02:00
modules nixos/jenkins: rework environment handling 2015-10-04 20:04:00 +02:00
tests nixos/docker: default storageDriver to "devicemapper" 2015-10-04 14:34:38 +02:00
COPYING
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README
release-combined.nix Disable lightdm test 2015-08-17 10:48:04 +02:00
release-small.nix release-small.nix: Drop the grub1 test 2015-08-11 13:51:55 +02:00
release.nix Disable the ec2-config test 2015-09-28 13:47:14 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.