-
-
Notifications
You must be signed in to change notification settings - Fork 105
Comparing changes
Open a pull request
base repository: NixOS/nixpkgs-channels
base: 4d1abc44199c
head repository: NixOS/nixpkgs-channels
compare: 5e7bf8c5e9da
Commits on Sep 28, 2018
-
added dysinger as a maintainer
Signed-off-by: Tim Dysinger <tim@dysinger.net>
Configuration menu - View commit details
-
Copy full SHA for f030011 - Browse repository at this point
Copy the full SHA f030011View commit details
Commits on Sep 30, 2018
-
nixos/systemd: remove activation dependency
As far as I can tell, the systemd snippet hasn't depended on groups being initialized since 5d02c02 in 2015, when a `setfacl` call was removed.
Configuration menu - View commit details
-
Copy full SHA for f449242 - Browse repository at this point
Copy the full SHA f449242View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8d40083 - Browse repository at this point
Copy the full SHA 8d40083View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 10e8650 - Browse repository at this point
Copy the full SHA 10e8650View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for bbc0f6f - Browse repository at this point
Copy the full SHA bbc0f6fView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for ae3d3b0 - Browse repository at this point
Copy the full SHA ae3d3b0View commit details -
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).
Configuration menu - View commit details
-
Copy full SHA for dab5c63 - Browse repository at this point
Copy the full SHA dab5c63View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 188bdfb - Browse repository at this point
Copy the full SHA 188bdfbView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for b63f65a - Browse repository at this point
Copy the full SHA b63f65aView commit details
Commits on Oct 2, 2018
-
jetbrains: add libnotify to wrapper to enable notifications
Philipp Middendorf committedOct 2, 2018 Configuration menu - View commit details
-
Copy full SHA for 0b2f2f3 - Browse repository at this point
Copy the full SHA 0b2f2f3View commit details -
Philipp Middendorf committed
Oct 2, 2018 Configuration menu - View commit details
-
Copy full SHA for 22e9c0a - Browse repository at this point
Copy the full SHA 22e9c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2671acc - Browse repository at this point
Copy the full SHA 2671accView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cab954 - Browse repository at this point
Copy the full SHA 9cab954View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fa7b89 - Browse repository at this point
Copy the full SHA 8fa7b89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82b5887 - Browse repository at this point
Copy the full SHA 82b5887View commit details -
Merge pull request #47563 from jameysharp/unscripted
Replace several activation script snippets with declarative configuration
Configuration menu - View commit details
-
Copy full SHA for b12c759 - Browse repository at this point
Copy the full SHA b12c759View commit details -
Merge pull request #47666 from plapadoo/jshint-phantomjs
jshint: depend on phantomjs2
Configuration menu - View commit details
-
Copy full SHA for 4c5b6d6 - Browse repository at this point
Copy the full SHA 4c5b6d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b08685 - Browse repository at this point
Copy the full SHA 9b08685View commit details -
i3lock-color: 2.11-c -> 2.12.c (#47674)
Note the change in naming scheme, this is intentional (Raymo111/i3lock-color#92)
Configuration menu - View commit details
-
Copy full SHA for fbf55e9 - Browse repository at this point
Copy the full SHA fbf55e9View commit details -
Merge pull request #47675 from kalbasit/nixpkgs_update-twa
twa: 1.3.1 -> 1.5.1
Configuration menu - View commit details
-
Copy full SHA for 1de4ebd - Browse repository at this point
Copy the full SHA 1de4ebdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d072586 - Browse repository at this point
Copy the full SHA d072586View commit details -
hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.11.1 from Hackage revision commercialhaskell/all-cabal-hashes@8d7d987.
Configuration menu - View commit details
-
Copy full SHA for ab1a64f - Browse repository at this point
Copy the full SHA ab1a64fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8841b09 - Browse repository at this point
Copy the full SHA 8841b09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f40052 - Browse repository at this point
Copy the full SHA 8f40052View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4badb2 - Browse repository at this point
Copy the full SHA a4badb2View commit details -
Merge pull request #47673 from dysinger/feature/dysinger
added dysinger as a maintainer
Configuration menu - View commit details
-
Copy full SHA for 67c86d8 - Browse repository at this point
Copy the full SHA 67c86d8View commit details -
Merge pull request #47656 from plapadoo/jetbrains-libnotify
jetbrains: add libnotify to wrapper to enable notifications
Configuration menu - View commit details
-
Copy full SHA for 83f6cf8 - Browse repository at this point
Copy the full SHA 83f6cf8View commit details -
Merge pull request #47668 from jluttine/syncthing-0.14.51
syncthing: 0.14.50 -> 0.14.51
Configuration menu - View commit details
-
Copy full SHA for 1643967 - Browse repository at this point
Copy the full SHA 1643967View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d68b5e - Browse repository at this point
Copy the full SHA 1d68b5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d516602 - Browse repository at this point
Copy the full SHA d516602View commit details -
Configuration menu - View commit details
-
Copy full SHA for 024eb9a - Browse repository at this point
Copy the full SHA 024eb9aView commit details -
haskell: fix x509-system on mojave
darwin.security_tool is currently broken in Mojave. See issue #45042 for more info. Our security_tool stuff comes from 10.9 so I suspect that it needs an update. Here I am putting in a hack to get things working again. This uses the system provided security binary at /usr/bin/security to avoid the issue in Haskell’s x509-system package. Unfortunately, this will break with the sandbox. I am also working on a proper fix, but this requires updating lots of Apple stuff (and also copumpkin’s new CF). You can follow the progress on this branch: https://github.com/matthewbauer/nixpkgs/tree/xcode-security This commit should be backported to release-18.03 and release-18.09. /cc @copumpkin @LnL7 @pikajude
Configuration menu - View commit details
-
Copy full SHA for 300ff96 - Browse repository at this point
Copy the full SHA 300ff96View commit details -
Merge pull request #47676 from matthewbauer/security-mojave-fix
haskell: fix x509-system on mojave
Configuration menu - View commit details
-
Copy full SHA for a88b8da - Browse repository at this point
Copy the full SHA a88b8daView commit details -
Merge pull request #47681 from NixOS/docs-lib-sources
docs: documentation for `cleanSource`
Configuration menu - View commit details
-
Copy full SHA for 8fd8d72 - Browse repository at this point
Copy the full SHA 8fd8d72View commit details -
Merge pull request #47682 from NixOS/docs-trivial-builders
trivial builders: adding usage documentation for functions
Configuration menu - View commit details
-
Copy full SHA for 33d8ba2 - Browse repository at this point
Copy the full SHA 33d8ba2View commit details -
Merge pull request #47683 from NixOS/docs-lib-options
docs: lib/options.nix function documentation
Configuration menu - View commit details
-
Copy full SHA for 62b3e55 - Browse repository at this point
Copy the full SHA 62b3e55View commit details -
Configuration menu - View commit details
-
Copy full SHA for bae2f2d - Browse repository at this point
Copy the full SHA bae2f2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3e2f32 - Browse repository at this point
Copy the full SHA b3e2f32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c45be7 - Browse repository at this point
Copy the full SHA 3c45be7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6c8246 - Browse repository at this point
Copy the full SHA b6c8246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 889c720 - Browse repository at this point
Copy the full SHA 889c720View commit details
Commits on Oct 3, 2018
-
nixos/tests/misc: Fix reboot-wtmp subtest
From commit b63f65a: 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. The "reboot-wtmp" subtest fails because it it assumes that there is a reboot record even on the initial boot. This is only the case if wtmp is created within the activation script, but the implementation now uses tmpfiles.d, so the creation of the file is done at a much later stage. Apart from that, if you think about the state after the installation as "first boot", using the term "reboot" wouldn't probably make sense either. So in our subtest, we now reboot the machine and check the wtmp record afterwards as we did before. Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra, @jameysharp, @Mic92
Configuration menu - View commit details
-
Copy full SHA for 5e7bf8c - Browse repository at this point
Copy the full SHA 5e7bf8cView commit details
There are no files selected for viewing