postfix: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/154082134
This commit is contained in:
parent
48d7135742
commit
1470227ef4
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, lib, fetchurl, makeWrapper, gnused, db, openssl, cyrus_sasl, libnsl
|
||||
, coreutils, findutils, gnugrep, gawk, icu, pcre, m4
|
||||
, fetchpatch
|
||||
, buildPackages, nixosTests
|
||||
, withLDAP ? true, openldap
|
||||
, withPgSQL ? false, postgresql
|
||||
|
@ -46,6 +47,12 @@ in stdenv.mkDerivation rec {
|
|||
./postfix-3.0-no-warnings.patch
|
||||
./post-install-script.patch
|
||||
./relative-symlinks.patch
|
||||
|
||||
# glibc 2.34 compat
|
||||
(fetchpatch {
|
||||
url = "https://src.fedoraproject.org/rpms/postfix/raw/2f9d42453e67ebc43f786d98262a249037f80a77/f/postfix-3.6.2-glibc-234-build-fix.patch";
|
||||
sha256 = "sha256-xRUL5gaoIt6HagGlhsGwvwrAfYvzMgydsltYMWvl9BI=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
|
|
Loading…
Reference in a new issue