bird2: fixup build after 7bb24a65e

I didn't look whether bird2 cross-compiles, but the patch wouldn't apply.
This commit is contained in:
Vladimír Čunát 2019-01-06 14:26:03 +01:00
parent 4bb0a719cf
commit c6b8312f21
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -18,12 +18,14 @@ let
patches = [
(./. + "/dont-create-sysconfdir-${builtins.substring 0 1 version}.patch")
]
++ optional (lib.versionOlder version "2")
# https://github.com/BIRD/bird/pull/4
(fetchpatch {
url = "https://github.com/BIRD/bird/commit/fca9ab48e3823c734886f47156a92f6b804c16e9.patch";
sha256 = "1pnndc3n56lqqcy74ln0w5kn3i9rbzsm2dqiyp1qw7j33dpkln1b";
})
];
;
CPP="${stdenv.cc.targetPrefix}cpp -E";