3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

154320 commits

Author SHA1 Message Date
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
R. RyanTM e3654421d3 chromedriver: 2.41 -> 2.42 (#47329)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/chromedriver/versions
2018-09-29 21:50:05 +02:00
endgame a3ba62db23 ultimate-oldschool-pc-font-pack: simplify using fetchzip (#47313) 2018-09-29 21:49:37 +02:00
José Romildo Malaquias 8ef0f71494 menumaker: init at 0.99.10 (#47507) 2018-09-29 21:46:37 +02:00
Elis Hirwing aba95986d2
lidarr: init at 0.3.1.471
Fork of sonarr (as radarr) but for music instead of series and movies.
2018-09-29 21:40:29 +02:00
R. RyanTM 18db34f09b keepass: 2.39.1 -> 2.40 (#47042)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/keepass/versions
2018-09-29 21:38:50 +02:00
Florian Klink 2be514d5c3 pythonPackages.pystemd: init at 0.5.0 (#47517) 2018-09-29 21:25:08 +02:00
Andrew Kelley f2fe5f7709
zig: 0.2.0 -> 0.3.0 2018-09-29 15:18:57 -04:00
R. RyanTM 5a1652e5bf libburn: 1.4.8 -> 1.5.0 (#47034)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libburn/versions
2018-09-29 21:14:34 +02:00
xeji 6362817e5d
Merge pull request #46160 from akru/master
parity-beta: 2.0.1 -> 2.0.3, parity: 1.11.8 -> 1.11.10
2018-09-29 21:08:26 +02:00
R. RyanTM 77f8e10fed picard-tools: 2.18.12 -> 2.18.14 (#46978)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/picard-tools/versions
2018-09-29 21:03:17 +02:00