Commit graph

154330 commits

Author SHA1 Message Date
xeji 78e244e419
Merge pull request #47561 from markuskowa/licenses-18
Add licenses
2018-09-30 21:18:19 +02:00
volth 61007c0e96 language_subtag_registry: fix hash (#47555) 2018-09-30 21:15:01 +02:00
xeji 339835b0f2
Merge pull request #47557 from knedlsepp/fix-mapnik
python-mapnik: Fix build
2018-09-30 21:12:09 +02:00
xeji 9afdcb20f9
Merge pull request #46400 from oxij/nixos/release-config
nixos: release.nix: add `configuration` parameter
2018-09-30 21:00:42 +02:00
Sarah Brofeldt a2e00dfb57
Merge pull request #47560 from johanot/kubernetes-1.12
kubernetes: 1.11.3 -> 1.12.0
2018-09-30 20:51:48 +02:00
Wael M. Nasreddine ef0b280751
plex: allow the dataDir to contain spaces by quoting the path 2018-09-30 11:13:25 -07:00
Jamey Sharp b63f65aea0 nixos/pam: create wtmp/lastlog iff using pam_lastlog
I think pam_lastlog is the only thing that writes to these files in
practice on a modern Linux system, so in a configuration that doesn't
use that module, we don't need to create these files.

I used tmpfiles.d instead of activation snippets to create the logs.
It's good enough for upstream and other distros; it's probably good
enough for us.
2018-09-30 11:08:12 -07:00
Jamey Sharp 188bdfb95d nixos/opengl: create /run/opengl-driver using tmpfiles.d
Anything that uses OpenGL starts after sysinit.target, so
systemd-tmpfiles runs before anything that needs these symlinks.
2018-09-30 11:08:12 -07:00
Jamey Sharp dab5c632bd nixos/activation: don't create /run/nix
Nix 2.0 no longer uses these directories.

/run/nix/current-load was moved to /nix/var/nix/current-load in 2017
(Nix commit d7653dfc6dea076ecbe00520c6137977e0fced35). Anyway,
src/build-remote/build-remote.cc will create the current-load directory
if it doesn't exist already.

/run/nix/remote-stores seems to have been deprecated since 2014 (Nix
commit b1af336132cfe8a6e4c54912cc512f8c28d4ebf3) when the documentation
for $NIX_OTHER_STORES was removed, and support for it was dropped
entirely in 2016 (Nix commit 4494000e04122f24558e1436e66d20d89028b4bd).
2018-09-30 11:08:12 -07:00
Jamey Sharp ae3d3b0fff nixos/polkit: use tmpfiles to clean old dirs
These don't need to get cleaned up during activation; that can wait
until systemd-tmpfiles-setup runs.
2018-09-30 11:08:11 -07:00
Jamey Sharp bbc0f6f005 nixos/systemd: don't create /var/lib/udev
As far as I can tell, systemd has never used this directory, so I think
this is a holdover from before udev merged into systemd.
2018-09-30 11:05:47 -07:00
Jamey Sharp 10e8650515 nixos/systemd: let journald create /var/log/journal
The default value for journald's Storage option is "auto", which
determines whether to log to /var/log/journal based on whether that
directory already exists. So NixOS has been unconditionally creating
that directory in activation scripts.

However, we can get the same behavior by configuring journald.conf to
set Storage to "persistent" instead. In that case, journald will create
the directory itself if necessary.
2018-09-30 11:04:43 -07:00
Matthew Bauer aaef04f865
Merge pull request #46045 from mdevlamynck/plasma-applet-volumewin7mixer
plasma-applet-volumewin7mixer: init at v23
2018-09-30 12:58:02 -05:00
Wael M. Nasreddine 89727b3c9a
plex: 1.13.5.5291 -> 1.13.8.5395 2018-09-30 10:56:15 -07:00
Jamey Sharp 8d40083690 nixos/stage-2: create empty machine-id at boot
Previously, the activation script was responsible for ensuring that
/etc/machine-id exists. However, the only time it could not already
exist is during stage-2-init, not while switching configurations,
because one of the first things systemd does when starting up as PID 1
is to create this file. So I've moved the initialization to
stage-2-init.

Furthermore, since systemd will do the equivalent of
systemd-machine-id-setup if /etc/machine-id doesn't have valid contents,
we don't need to do that ourselves.

We _do_, however, want to ensure that the file at least exists, because
systemd also uses the non-existence of this file to guess that this is a
first-boot situation. In that case, systemd tries to create some
symlinks in /etc/systemd/system according to its presets, which it can't
do because we've already populated /etc according to the current NixOS
configuration.

This is not necessary for any other activation script snippets, so it's
okay to do it after stage-2-init runs the activation script. None of
them declare a dependency on the "systemd" snippet. Also, most of them
only create files or directories in ways that obviously don't need the
machine-id set.
2018-09-30 10:45:35 -07:00
Markus Kowalewski 70087c5cfb
apr: add license 2018-09-30 19:11:21 +02:00
Markus Kowalewski 63a9165332
cyrus-sasl: add license 2018-09-30 19:11:21 +02:00
Markus Kowalewski 4faaba0186
ctpp2: add license 2018-09-30 19:11:21 +02:00
Markus Kowalewski b271fe2311
ctpl: add license 2018-09-30 19:11:21 +02:00
Markus Kowalewski a2046daebd
cogl: add licenses 2018-09-30 19:11:20 +02:00
Markus Kowalewski 796a2584d5
cmark: add license 2018-09-30 19:11:20 +02:00
Markus Kowalewski c964f4fc26
clucene: add license 2018-09-30 19:11:14 +02:00
Markus Kowalewski e978d7a9f2
cln: add license 2018-09-30 18:57:59 +02:00
Markus Kowalewski e86c84d607
boringssl: add licenses 2018-09-30 18:57:59 +02:00
Vincent Laporte b46666a867 ocamlPackages.odoc: fix resolution of odoc.css 2018-09-30 16:14:03 +00:00
Michael Weiss 766e3228c2 tdesktop: 1.3.14 -> 1.4.0
tdesktopPackages.preview: 1.3.14 -> 1.4.0
2018-09-30 14:59:15 +02:00
Johan Thomsen a91c293aaf kubernetes: 1.11.3 -> 1.12.0
- kubelet CAdvisor port has been removed
2018-09-30 14:49:26 +02:00
Josef Kemetmüller be6451e020 pythonPackages.python-mapnik: Fix build
There were two things to fix:
- Boost started shipping libboost_python.so as libboost_python{Major}{Minor}
- Make sure that mapnik and boost link to the correct version of python.
2018-09-30 14:20:53 +02:00
Josef Kemetmüller b1857daa25 mapnik: 3.0.13 -> 3.0.20 2018-09-30 13:44:41 +02:00
Matthias Devlamynck aadd5b3f55 plasma-applet-volumewin7mixer: init at v23 2018-09-30 11:45:16 +02:00
nyanloutre d859a66351
nixos/steam-hardware: update documentation 2018-09-30 11:27:47 +02:00
nyanloutre da86afba0d
nixos/steam-hardware: module init 2018-09-30 11:22:32 +02:00
Jamey Sharp f449242e83 nixos/systemd: remove activation dependency
As far as I can tell, the systemd snippet hasn't depended on groups
being initialized since 5d02c02a9b in
2015, when a `setfacl` call was removed.
2018-09-29 23:37:38 -07:00
Will Dietz 6058b979ab libosinfo: externalize patches, fetch w/fetchpatch 2018-09-30 00:23:59 -05:00
Will Dietz b66d6f404e
Merge pull request #47530 from dtzWill/update/libreoffice-2018-09-29
libreoffice-fresh: 6.1.1.2 -> 6.1.2.1
2018-09-30 00:17:53 -05:00
Will Dietz b5ba81ac28
Merge pull request #47534 from andrewrk/zig-0.3.0
zig: 0.2.0 -> 0.3.0
2018-09-30 00:10:31 -05:00
Graham Christensen 8413f22bb3
docs: format 2018-09-29 20:51:11 -04:00
Graham Christensen 9622cd3b38
Revert "Revert "doc: Update section about imperative containers""
I fixed the problem.

This reverts commit 74df71bc8b.
2018-09-29 20:43:06 -04:00
Will Dietz 243e28bc96 nix-daemon: only add channels dir to NIX_PATH if exists
Per reviewer comment (thanks!).
2018-09-29 20:29:33 -04:00
Will Dietz f3a114e088 NIX_PATH: don't prepend $HOME-based value in session variable, set later
environment.sessionVariables cannot refer to the values of env vars,
and as a result this has caused problems in a variety of scenarios.

One use for these is that they're injected into /etc/profile,
elewhere these are used to populate an 'envfile' for pam
(`pam 5 pam_env.conf`) which mentions use of HOME being
potentially problematic.

Anyway if the goal is to make things easier for users,
simply do the NIX_PATH modification as extraInit.

This fixes the annoying problems generated by the current approach
(#40165 and others) while hopefully serving the original goal.

One way to check if things are borked is to try:

$ sudo env | grep NIX_PATH

Which (before this change) prints NIX_PATH variable with
an unexpanded $HOME in the value.

-------

This does mean the following won't contain user channels for 'will':
$ sudo -u will nix-instantiate --eval -E builtins.nixPath

However AFAICT currently they won't be present either,
due to unescaped $HOME.  Unsure if similar situation for other users
of sessionVariables (not sudo) work with current situation
(if they exist they will regress after this change AFAIK).
2018-09-29 20:29:33 -04:00
Tuomas Tynkkynen 74df71bc8b Revert "doc: Update section about imperative containers"
This reverts commit f309440ee3.

Breaks manual build:

https://nix-cache.s3.amazonaws.com/log/wnjcy6n5f871bpyy9nd06smiz1ggv99c-nixos-manual-combined.drv
2018-09-30 03:18:58 +03:00
Jörg Thalheim 02658a7276
Merge pull request #47541 from LnL7/darwin-mosh
mosh: fix clang build
2018-09-29 23:29:18 +01:00
Tim Steinbach 5eefdebf49
linux: 4.18.10 -> 4.18.11 2018-09-29 17:53:22 -04:00
Tim Steinbach 00e57782bc
linux: 4.14.72 -> 4.14.73 2018-09-29 17:53:07 -04:00
Tim Steinbach 74f56e14d9
linux: 4.9.129 -> 4.9.130 2018-09-29 17:52:51 -04:00
Tim Steinbach 7769fd6a80
linux: 4.4.158 -> 4.4.159 2018-09-29 17:52:31 -04:00
Daiderd Jordan 9d59281c61
mosh: fix clang build
The darwin build started to fail because of protobuf c++11 related
errors https://hydra.nixos.org/build/82082958.
2018-09-29 23:26:07 +02:00
Matthew Bauer 99add16af3
Merge pull request #47539 from bhipple/l/patchelf
patchelf: fix license
2018-09-29 16:24:20 -05:00
Benjamin Hipple d7003ed576 patchelf: fix license
Use the attr set instead of a string
2018-09-29 16:36:33 -04:00
volth 0a784c094f libvirt: 4.5.0 -> 4.7.0 (#46502) 2018-09-29 22:33:38 +02:00