Merge branch 'staging' into fix-ncurses-darwin-extensions
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, intltool, gperf, libcap, kmod
|
||||
, zlib, xz, pam, acl, cryptsetup, libuuid, m4, utillinux, libffi
|
||||
, glib, kbd, libxslt, coreutils, libgcrypt, libgpgerror, libidn2, libapparmor
|
||||
, audit, lz4, bzip2, kexectools, libmicrohttpd
|
||||
, audit, lz4, bzip2, kexectools, libmicrohttpd, pcre2
|
||||
, linuxHeaders ? stdenv.cc.libc.linuxHeaders
|
||||
, libseccomp, iptables, gnu-efi
|
||||
, autoreconfHook, gettext, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_45
|
||||
@@ -43,7 +43,7 @@ in stdenv.mkDerivation rec {
|
||||
buildInputs =
|
||||
[ linuxHeaders libcap kmod xz pam acl
|
||||
/* cryptsetup */ libuuid glib libgcrypt libgpgerror libidn2
|
||||
libmicrohttpd ] ++
|
||||
libmicrohttpd pcre2 ] ++
|
||||
stdenv.lib.meta.enableIfAvailable kexectools ++
|
||||
stdenv.lib.meta.enableIfAvailable libseccomp ++
|
||||
[ libffi audit lz4 bzip2 libapparmor
|
||||
@@ -155,6 +155,14 @@ in stdenv.mkDerivation rec {
|
||||
--replace "SYSTEMD_CGROUP_AGENT_PATH" "_SYSTEMD_CGROUP_AGENT_PATH"
|
||||
'';
|
||||
|
||||
patches = [
|
||||
# https://github.com/systemd/systemd/pull/8580
|
||||
(fetchpatch {
|
||||
url = https://github.com/systemd/systemd/pull/8580.patch;
|
||||
sha256 = "1yp07hlpgqq0h2y0qc3kasswzkycz6p8d56d695ck1qa2f5bdfgn";
|
||||
})
|
||||
];
|
||||
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE =
|
||||
@@ -170,6 +178,8 @@ in stdenv.mkDerivation rec {
|
||||
"-USYSTEMD_BINARY_PATH" "-DSYSTEMD_BINARY_PATH=\"/run/current-system/systemd/lib/systemd/systemd\""
|
||||
];
|
||||
|
||||
doCheck = false; # fails a bunch of tests
|
||||
|
||||
postInstall = ''
|
||||
# sysinit.target: Don't depend on
|
||||
# systemd-tmpfiles-setup.service. This interferes with NixOps's
|
||||
|
||||
Reference in New Issue
Block a user