bird2: fixup build after 7bb24a65e
I didn't look whether bird2 cross-compiles, but the patch wouldn't apply.
This commit is contained in:
parent
4bb0a719cf
commit
c6b8312f21
@ -18,12 +18,14 @@ let
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(./. + "/dont-create-sysconfdir-${builtins.substring 0 1 version}.patch")
|
(./. + "/dont-create-sysconfdir-${builtins.substring 0 1 version}.patch")
|
||||||
|
]
|
||||||
|
++ optional (lib.versionOlder version "2")
|
||||||
# https://github.com/BIRD/bird/pull/4
|
# https://github.com/BIRD/bird/pull/4
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/BIRD/bird/commit/fca9ab48e3823c734886f47156a92f6b804c16e9.patch";
|
url = "https://github.com/BIRD/bird/commit/fca9ab48e3823c734886f47156a92f6b804c16e9.patch";
|
||||||
sha256 = "1pnndc3n56lqqcy74ln0w5kn3i9rbzsm2dqiyp1qw7j33dpkln1b";
|
sha256 = "1pnndc3n56lqqcy74ln0w5kn3i9rbzsm2dqiyp1qw7j33dpkln1b";
|
||||||
})
|
})
|
||||||
];
|
;
|
||||||
|
|
||||||
CPP="${stdenv.cc.targetPrefix}cpp -E";
|
CPP="${stdenv.cc.targetPrefix}cpp -E";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user