From c25c096d614f011fdd6abade39ef2d7ba1764054 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 27 Feb 2022 14:51:45 +0800 Subject: [PATCH] bird: add patch for babel iface reconfiguration --- pkgs/servers/bird/default.nix | 6 +++++- pkgs/servers/bird/dont-create-sysconfdir-1.patch | 6 ------ 2 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 pkgs/servers/bird/dont-create-sysconfdir-1.patch diff --git a/pkgs/servers/bird/default.nix b/pkgs/servers/bird/default.nix index 34d1aab3286b..5c5fec3d892a 100644 --- a/pkgs/servers/bird/default.nix +++ b/pkgs/servers/bird/default.nix @@ -13,7 +13,11 @@ stdenv.mkDerivation rec { buildInputs = [ readline libssh ]; patches = [ - (./. + "/dont-create-sysconfdir-${builtins.substring 0 1 version}.patch") + ./dont-create-sysconfdir-2.patch + (fetchurl { + url = "https://gitlab.nic.cz/labs/bird/-/commit/fcb4dd0c831339c4374ace17d8f2ae6ebfeed279.patch"; + sha256 = "sha256-PEgpRnOGLa1orHJDEHlblnVhBVv7XOKPR70M1wUMxMQ="; + }) ]; CPP="${stdenv.cc.targetPrefix}cpp -E"; diff --git a/pkgs/servers/bird/dont-create-sysconfdir-1.patch b/pkgs/servers/bird/dont-create-sysconfdir-1.patch deleted file mode 100644 index 8f62670aee93..000000000000 --- a/pkgs/servers/bird/dont-create-sysconfdir-1.patch +++ /dev/null @@ -1,6 +0,0 @@ ---- a/tools/Makefile.in -+++ b/tools/Makefile.in -@@ -68,2 +68,2 @@ - install: all -- $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/$(runstatedir) -+ $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir)