Merge master into closure-size

The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
This commit is contained in:
Vladimír Čunát
2016-03-08 09:58:19 +01:00
1276 changed files with 78548 additions and 29166 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, zlib, ncurses ? null, perl ? null, pam }:
{ stdenv, fetchurl, pkgconfig, zlib, ncurses ? null, perl ? null, pam, systemd }:
stdenv.mkDerivation rec {
name = "util-linux-2.27.1";
@@ -41,6 +41,10 @@ stdenv.mkDerivation rec {
--disable-use-tty-group
--enable-fs-paths-default=/var/setuid-wrappers:/var/run/current-system/sw/bin:/sbin
${if ncurses == null then "--without-ncurses" else ""}
${if systemd == null then "" else ''
--with-systemd
--with-systemdsystemunitdir=$out/lib/systemd/system/
''}
'';
makeFlags = "usrbin_execdir=$(bin)/bin usrsbin_execdir=$(bin)/sbin";
@@ -49,6 +53,7 @@ stdenv.mkDerivation rec {
buildInputs =
[ zlib pam ]
++ stdenv.lib.optional (ncurses != null) ncurses
++ stdenv.lib.optional (systemd != null) [ systemd pkgconfig ]
++ stdenv.lib.optional (perl != null) perl;
postInstall = ''