Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 98d958981921
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0771a1273dd7
Choose a head ref

Commits on Sep 2, 2019

  1. rfc6555: init at 0.0.0

    endocrimes committed Sep 2, 2019
    Copy the full SHA
    4f2a3aa View commit details

Commits on Sep 3, 2019

  1. Copy the full SHA
    11b43ce View commit details

Commits on Sep 6, 2019

  1. Copy the full SHA
    c1a37ca View commit details

Commits on Sep 7, 2019

  1. sequoia: 0.9.0 -> 0.10.0

    doronbehar committed Sep 7, 2019
    Copy the full SHA
    176395f View commit details
  2. Copy the full SHA
    8b71bb0 View commit details
  3. Copy the full SHA
    d381762 View commit details
  4. i3status: 2.12 -> 2.13

    Update i3status to 2.13.
    I needed to add a little hack to get it to build because for reasons
    I can't seem to figure out, the configure script generates a broken
    Makefile on this release.
    The small sed line fixes the syntax error.
    exi committed Sep 7, 2019
    Copy the full SHA
    8f6cdc6 View commit details

Commits on Sep 8, 2019

  1. Copy the full SHA
    e82b8fa View commit details
  2. README.md: improve content

    ryantm committed Sep 8, 2019
    Copy the full SHA
    2833665 View commit details
  3. lutris: 0.5.2.1 -> 0.5.3

    valencik authored and abbradar committed Sep 8, 2019
    Copy the full SHA
    3ae9f16 View commit details
  4. deluge service: fix my bad conflict resolution from f21211e

    I'm sorry.  Thanks to aszlig.
    vcunat committed Sep 8, 2019
    Copy the full SHA
    707c7e4 View commit details
  5. powerdns: use default openssl instead of libressl_2_8

    Fixes NixOS/nixpkgs#67601
    and also see that thread for discussion.
    vcunat committed Sep 8, 2019
    Copy the full SHA
    014ffdf View commit details
  6. libgap: remove unreachable path

    This was clearly forgotten in 471ba67 #54202.
    vcunat committed Sep 8, 2019
    Copy the full SHA
    252a30e View commit details
  7. rfc6555: selectively disable networked tests

    (incl. tiny nitpicks from vcunat)
    d-goldin authored and vcunat committed Sep 8, 2019
    Copy the full SHA
    b199e30 View commit details
  8. Copy the full SHA
    f5cecbb View commit details
  9. Copy the full SHA
    cda81ea View commit details
  10. plasma-5: 5.16.4 -> 5.16.5

    nyanloutre authored and FRidh committed Sep 8, 2019
    Copy the full SHA
    86a12f2 View commit details
  11. i3status: fix description

    Ma27 committed Sep 8, 2019
    Copy the full SHA
    b553faa View commit details
  12. Merge pull request #67962 from ryantm/readme

    README.md: improve content
    worldofpeace authored Sep 8, 2019
    Copy the full SHA
    8bc72d1 View commit details
  13. Merge pull request #68289 from exi/i3status-bump

    i3status: 2.12 -> 2.13
    Ma27 authored Sep 8, 2019
    Copy the full SHA
    5972fba View commit details
  14. Merge pull request #68283 from etu/gitea-1-9-3

    gitea: 1.9.2 -> 1.9.3
    Ma27 authored Sep 8, 2019
    Copy the full SHA
    9c896d4 View commit details
  15. Copy the full SHA
    9254955 View commit details
  16. Merge pull request #68288 from Ma27/bump-nexus

    nexus: 3.16.1-02 -> 3.18.1-01
    Ma27 authored Sep 8, 2019
    Copy the full SHA
    f3ad897 View commit details
  17. Merge pull request #68297 from peterhoeg/f/strawberry

    strawberry: environment variable was missing
    worldofpeace authored Sep 8, 2019
    Copy the full SHA
    84b39ae View commit details
  18. Merge pull request #68298 from Ma27/bump-weechat

    weechat: 2.5 -> 2.6
    andir authored Sep 8, 2019
    Copy the full SHA
    722a286 View commit details
  19. Merge pull request #68281 from doronbehar/update-sequoia

    sequoia: 0.9.0 -> 0.10.0
    Ma27 authored Sep 8, 2019
    Copy the full SHA
    4f67ff3 View commit details
  20. Merge pull request #68300 from marsam/update-tflint

    tflint: 0.10.3 -> 0.11.0
    Ma27 authored Sep 8, 2019
    Copy the full SHA
    7e534e3 View commit details
  21. upower: cleanup

    * correct inputs
    * drop dbus-glib
      Has not been needed for a very long
      time.
    * intltool -> gettext
    * add optional libimobiledevice
    * propagate glib
      It's in Requires
    * dev output
    * drop useSystemd
    worldofpeace committed Sep 8, 2019
    Copy the full SHA
    579a08a View commit details
  22. nixos/upower: don't use activation script to create statedir

    Systemd now handles this completely.
    worldofpeace committed Sep 8, 2019
    Copy the full SHA
    ab48ede View commit details
  23. nixos/upower: drop custom unit

    All of these changes ++ are in the upstream unit
    Also drop glib in path of unit as I don't believe
    this should be needed anymore.
    worldofpeace committed Sep 8, 2019
    Copy the full SHA
    92740dd View commit details
  24. nixos/upower: drop resumeCommands hack

    Introduced 7 years ago, it's likely the issue has
    been fixed. Even possible this could cause issues
    with recent upower.
    worldofpeace committed Sep 8, 2019
    Copy the full SHA
    16083de View commit details
  25. Copy the full SHA
    7ca5b39 View commit details
  26. Merge pull request #68037 from dtzWill/update/upower-0.99.11

    upower: 0.99.10 -> 0.99.11
    worldofpeace authored Sep 8, 2019
    Copy the full SHA
    362c2f6 View commit details
  27. Merge pull request #68308 from srhb/rerec-utils

    nixos/lib/utils: Make the set recursive again, unbreak eval
    srhb authored Sep 8, 2019
    Copy the full SHA
    0771a12 View commit details
135 changes: 100 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,113 @@
[<img src="https://nixos.org/logo/nixos-hires.png" width="500px" alt="logo" />](https://nixos.org/nixos)
<p align="center">
<a href="https://nixos.org/nixos"><img src="https://nixos.org/logo/nixos-hires.png" width="500px" alt="NixOS logo" /></a>
</p>

[![Code Triagers Badge](https://www.codetriage.com/nixos/nixpkgs/badges/users.svg)](https://www.codetriage.com/nixos/nixpkgs)
[![Open Collective supporters](https://opencollective.com/nixos/tiers/supporter/badge.svg?label=Supporter&color=brightgreen)](https://opencollective.com/nixos)
<p align="center">
<a href="https://www.codetriage.com/nixos/nixpkgs"><img src="https://www.codetriage.com/nixos/nixpkgs/badges/users.svg" alt="Code Triagers badge" /></a>
<a href="https://opencollective.com/nixos"><img src="https://opencollective.com/nixos/tiers/supporter/badge.svg?label=Supporter&color=brightgreen" alt="Open Collective supporters" /></a>
</p>

Nixpkgs is a collection of packages for the [Nix](https://nixos.org/nix/) package
manager. It is periodically built and tested by the [Hydra](https://hydra.nixos.org/)
build daemon as so-called channels. To get channel information via git, add
[nixpkgs-channels](https://github.com/NixOS/nixpkgs-channels.git) as a remote:
[Nixpkgs](https://github.com/nixos/nixpkgs) is a collection of over
40,000 software packages that can be installed with the
[Nix](https://nixos.org/nix/) package manager. It also implements
[NixOS](https://nixos.org/nixos/), a purely-functional Linux distribution.

```
% git remote add channels https://github.com/NixOS/nixpkgs-channels.git
```
# Manuals

For stability and maximum binary package support, it is recommended to maintain
custom changes on top of one of the channels, e.g. `nixos-19.03` for the latest
release and `nixos-unstable` for the latest successful build of master:
* [NixOS Manual](https://nixos.org/nixos/manual) - how to install, configure, and maintain a purely-functional Linux distribution
* [Nixpkgs Manual](https://nixos.org/nixpkgs/manual/) - contributing to Nixpkgs and using programming-language-specific Nix expressions
* [Nix Package Manager Manual](https://nixos.org/nix/manual) - how to write Nix expresssions (programs), and how to use Nix command line tools

```
% git remote update channels
% git rebase channels/nixos-19.03
```
# Community

For pull requests, please rebase onto nixpkgs `master`.
* [Discourse Forum](https://discourse.nixos.org/)
* [IRC - #nixos on freenode.net](irc://irc.freenode.net/#nixos)
* [NixOS Weekly](https://weekly.nixos.org/)
* [Community-maintained wiki](https://nixos.wiki/)

# Other Project Repositories

The sources of all offical Nix-related projects are in the [NixOS
organization on GitHub](https://github.com/NixOS/). Here are some of
the main ones:

* [Nix](https://github.com/NixOS/nix) - the purely functional package manager
* [NixOps](https://github.com/NixOS/nixops) - the tool to remotely deploy NixOS machines
* [Nix RFCs](https://github.com/NixOS/rfcs) - the formal process for making substantial changes to the community
* [NixOS homepage](https://github.com/NixOS/nixos-homepage) - the [NixOS.org](https://nixos.org) website
* [hydra](https://github.com/NixOS/hydra) - our continuous integration system
* [NixOS Artwork](https://github.com/NixOS/nixos-artwork) - NixOS artwork

[NixOS](https://nixos.org/nixos/) Linux distribution source code is located inside
`nixos/` folder.
# Continuous Integration and Distribution

Nixpkgs and NixOS are built and tested by our continuous integration
system, [Hydra](https://hydra.nixos.org/).

* [NixOS installation instructions](https://nixos.org/nixos/manual/#ch-installation)
* [Documentation (Nix Expression Language chapter)](https://nixos.org/nix/manual/#ch-expression-language)
* [Manual (How to write packages for Nix)](https://nixos.org/nixpkgs/manual/)
* [Manual (NixOS)](https://nixos.org/nixos/manual/)
* [Community maintained wiki](https://nixos.wiki/)
* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
* [Continuous package builds for 19.03 release](https://hydra.nixos.org/jobset/nixos/release-19.03)
* [Continuous package builds for the NixOS 19.03 release](https://hydra.nixos.org/jobset/nixos/release-19.03)
* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
* [Tests for 19.03 release](https://hydra.nixos.org/job/nixos/release-19.03/tested#tabs-constituents)
* [Tests for the NixOS 19.03 release](https://hydra.nixos.org/job/nixos/release-19.03/tested#tabs-constituents)

Communication:
Artifacts successfully built with Hydra are published to cache at
https://cache.nixos.org/. When successful build and test criteria are
met, the Nixpkgs expressions are distributed via [Nix
channels](https://nixos.org/nix/manual/#sec-channels). The channels
are provided via a read-only mirror of the Nixpkgs repository called
[nixpkgs-channels](https://github.com/NixOS/nixpkgs-channels).

* [Discourse Forum](https://discourse.nixos.org/)
* [IRC - #nixos on freenode.net](irc://irc.freenode.net/#nixos)
# Contributing

Nixpkgs is among the most active projects on GitHub. While thousands
of open issues and pull requests might seem a lot at first, it helps
consider it in the context of the scope of the project. Nixpkgs
describes how to build over 40,000 pieces of software and implements a
Linux distribution. The [GitHub Insights](https://github.com/NixOS/nixpkgs/pulse)
page gives a sense of the project activity.

Community contributions are always welcome through GitHub Issues and
Pull Requests. When pull requests are made, our tooling automation bot,
[OfBorg](https://github.com/NixOS/ofborg) will perform various checks
to help ensure expression quality.

The *Nixpkgs maintainers* are people who have assigned themselves to
maintain specific individual packages. We encourage people who care
about a package to assign themselves as a maintainer. When a pull
request is made against a package, OfBorg will notify the appropriate
maintainer(s). The *Nixpkgs committers* are people who have been given
permission to merge.

Most contributions are based on and merged into these branches:

* `master` is the main branch where all small contributions go
* `staging` is branched from master, changes that have a big impact on
Hydra builds go to this branch
* `staging-next` is branched from staging and only fixes to stabilize
and security fixes with a big impact on Hydra builds should be
contributed to this branch. This branch is merged into master when
deemed of sufficiently high quality

For more information about contributing to the project, please visit
the [contributing page](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).

# Donations

The infrastructure for NixOS and related projects is maintained by a
nonprofit organization, the [NixOS
Foundation](https://nixos.org/nixos/foundation.html). To ensure the
continuity and expansion of the NixOS infrastructure, we are looking
for donations to our organization.

You can donate to the NixOS foundation by using Open Collective:

<a href="https://opencollective.com/nixos#support"><img src="https://opencollective.com/nixos/tiers/supporter.svg?width=890" /></a>

# License

Nixpkgs is licensed under the [MIT License](COPYING).

Note: MIT license does not apply to the packages built by Nixpkgs, merely to
the package descriptions (Nix expressions, build scripts, and so on). It also
might not apply to patches included in Nixpkgs, which may be derivative works
of the packages to which they apply. The aforementioned artifacts are all
covered by the licenses of the respective packages.
Note: MIT license does not apply to the packages built by Nixpkgs,
merely to the files in this repository (the Nix expressions, build
scripts, NixOS modules, etc.). It also might not apply to patches
included in Nixpkgs, which may be derivative works of the packages to
which they apply. The aforementioned artifacts are all covered by the
licenses of the respective packages.
2 changes: 1 addition & 1 deletion nixos/lib/utils.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgs: with pkgs.lib;

{
rec {

# Check whenever fileSystem is needed for boot
fsNeededForBoot = fs: fs.neededForBoot
53 changes: 4 additions & 49 deletions nixos/modules/services/hardware/upower.nix
Original file line number Diff line number Diff line change
@@ -5,8 +5,11 @@
with lib;

let

cfg = config.services.upower;

in

{

###### interface
@@ -49,55 +52,7 @@ in

services.udev.packages = [ cfg.package ];

systemd.services.upower =
{ description = "Power Management Daemon";
path = [ pkgs.glib.out ]; # needed for gdbus
serviceConfig =
{ Type = "dbus";
BusName = "org.freedesktop.UPower";
ExecStart = "@${cfg.package}/libexec/upowerd upowerd";
Restart = "on-failure";
# Upstream lockdown:
# Filesystem lockdown
ProtectSystem = "strict";
# Needed by keyboard backlight support
ProtectKernelTunables = false;
ProtectControlGroups = true;
ReadWritePaths = "/var/lib/upower";
ProtectHome = true;
PrivateTmp = true;

# Network
# PrivateNetwork=true would block udev's netlink socket
RestrictAddressFamilies = "AF_UNIX AF_NETLINK";

# Execute Mappings
MemoryDenyWriteExecute = true;

# Modules
ProtectKernelModules = true;

# Real-time
RestrictRealtime = true;

# Privilege escalation
NoNewPrivileges = true;
};
};

system.activationScripts.upower =
''
mkdir -m 0755 -p /var/lib/upower
'';

# The upower daemon seems to get stuck after doing a suspend
# (i.e. subsequent suspend requests will say "Sleep has already
# been requested and is pending"). So as a workaround, restart
# the daemon.
powerManagement.resumeCommands =
''
${config.systemd.package}/bin/systemctl try-restart upower
'';
systemd.packages = [ cfg.package ];

};

1 change: 1 addition & 0 deletions nixos/modules/services/torrent/deluge.nix
Original file line number Diff line number Diff line change
@@ -178,6 +178,7 @@ in {
"d '${cfg.dataDir}/.config' 0770 ${cfg.user} ${cfg.group}"
"d '${cfg.dataDir}/.config/deluge' 0770 ${cfg.user} ${cfg.group}"
]
++ optional (cfg.config ? download_location)
"d '${cfg.config.download_location}' 0770 ${cfg.user} ${cfg.group}"
++ optional (cfg.config ? torrentfiles_location)
"d '${cfg.config.torrentfiles_location}' 0770 ${cfg.user} ${cfg.group}"
8 changes: 7 additions & 1 deletion pkgs/applications/audio/strawberry/default.nix
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@
, libpthreadstubs
, libtasn1
, libXdmcp
, ninja
, pcre
, protobuf
, sqlite
@@ -72,15 +73,20 @@ mkDerivation rec {
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
])
++ lib.optional withVlc vlc;

nativeBuildInputs = [ cmake pkgconfig qttools ];
nativeBuildInputs = [ cmake ninja pkgconfig qttools ];

cmakeFlags = [
"-DUSE_SYSTEM_TAGLIB=ON"
];

postInstall = ''
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
'';

meta = with lib; {
description = "Music player and music collection organizer";
license = licenses.gpl2;
4 changes: 2 additions & 2 deletions pkgs/applications/misc/lutris/default.nix
Original file line number Diff line number Diff line change
@@ -31,13 +31,13 @@ let

in buildPythonApplication rec {
pname = "lutris-original";
version = "0.5.2.1";
version = "0.5.3";

src = fetchFromGitHub {
owner = "lutris";
repo = "lutris";
rev = "v${version}";
sha256 = "023yqnzmnkfpq21r6ky6jzwbjxjcw1a5zqrrdl6fwwlr78fdhgpv";
sha256 = "0n6xa3pnwvsvfipinrkbhxwjzfbw2cjpc9igv97nffcmpydmn5xv";
};

buildInputs = [
4 changes: 2 additions & 2 deletions pkgs/applications/networking/irc/weechat/default.nix
Original file line number Diff line number Diff line change
@@ -27,12 +27,12 @@ let
in
assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins;
stdenv.mkDerivation rec {
version = "2.5";
version = "2.6";
pname = "weechat";

src = fetchurl {
url = "https://weechat.org/files/src/weechat-${version}.tar.bz2";
sha256 = "14giv8j1phmpg3i9whx45nmskan501lwcq352ps9z52rkja2qxsc";
sha256 = "1narazk28m7lmn1vqi7bhyvnr8apjrmaa4w1hbadn64hwr8ya1hb";
};

outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
6 changes: 3 additions & 3 deletions pkgs/applications/version-management/gitea/default.nix
Original file line number Diff line number Diff line change
@@ -8,13 +8,13 @@ with stdenv.lib;

buildGoPackage rec {
pname = "gitea";
version = "1.9.2";
version = "1.9.3";

src = fetchFromGitHub {
owner = "go-gitea";
repo = "gitea";
rev = "v${version}";
sha256 = "1i7h6scycwzil87fcx1a19w5pl0986g5ax7y030w0wgmrq3zj53a";
sha256 = "0g6ch85dq4vazxnr6g78wgqrnfa955395y1zws0a50h0wfxpdjis";
# Required to generate the same checksum on MacOS due to unicode encoding differences
# More information: https://github.com/NixOS/nixpkgs/pull/48128
extraPostFetch = ''
@@ -62,7 +62,7 @@ buildGoPackage rec {

meta = {
description = "Git with a cup of tea";
homepage = https://gitea.io;
homepage = "https://gitea.io";
license = licenses.mit;
maintainers = with maintainers; [ disassembler kolaente ];
};
16 changes: 10 additions & 6 deletions pkgs/applications/window-managers/i3/status.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig
}:
{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:

stdenv.mkDerivation rec {
name = "i3status-2.12";
name = "i3status-2.13";

src = fetchurl {
url = "https://i3wm.org/i3status/${name}.tar.bz2";
sha256 = "06krpbijv4yi33nypg6qcn4hilcrdyarsdpd9fmr2cq46qaqiikg";
sha256 = "0rhlzb96mw64z2jnhwz9nibc7pxg549626lz5642xxk5hpzwk2ff";
};

nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig asciidoc xmlto docbook_xml_dtd_45 docbook_xsl ];
buildInputs = [ libconfuse yajl alsaLib libpulseaudio libnl ];

makeFlags = [ "all" "PREFIX=$(out)" ];

# This hack is needed because for unknown reasons configure generates a broken makefile on the 2.13 release under nixos
preBuild = ''
sed -i -e 's/\$(TEST_LOGS) \$(TEST_LOGS/\$(TEST_LOGS)/g' Makefile
'';

meta = {
description = "A tiling window manager";
description = "Generates a status line for i3bar, dzen2, xmobar or lemonbar";
homepage = https://i3wm.org;
maintainers = [ ];
license = stdenv.lib.licenses.bsd3;
2 changes: 1 addition & 1 deletion pkgs/desktops/plasma-5/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( https://download.kde.org/stable/plasma/5.16.4/ )
WGET_ARGS=( https://download.kde.org/stable/plasma/5.16.5/ )
Loading