~aasg/nixexprs

7e3655c5fa4c880c06007691d709cdbc2c7f5efa — Aluísio Augusto Silva Gonçalves 15 days ago f4a8690
bird-lg: Patch to fix bgpmap generation

This is github:sesa-me/bird-lg#3.
1 files changed, 9 insertions(+), 1 deletions(-)

M pkgs/servers/monitoring/bird-lg/default.nix
M pkgs/servers/monitoring/bird-lg/default.nix => pkgs/servers/monitoring/bird-lg/default.nix +9 -1
@@ 1,4 1,4 @@
{ stdenv, fetchFromGitHub, graphviz, python3, traceroute, whois }:
{ stdenv, fetchFromGitHub, fetchpatch, graphviz, python3, traceroute, whois }:
let
  runtimeDeps = [
    (python3.withPackages (ps: with ps; [


@@ 24,6 24,14 @@ stdenv.mkDerivation rec {
    sha256 = "0gisi6mbfclw36kms3qy3b0wzcwdkd50p2a6xdwggln4fi5y6bh1";
  };

  patches = [
    (fetchpatch {
      name = "fix-bgpmap-generation.patch";
      url = "https://github.com/sesa-me/bird-lg/commit/db8fb829d51889fab61bfb5ffac89199442d3117.patch";
      sha256 = "1vwr7ck5v7w4fr78kbc4wxyj3licsw7h0772xkmmxsb8vp9vcihg";
    })
  ];

  postPatch = ''
    # Don't configure a log file; let systemd handle it.
    sed -i '/file_handler/d' lg.py lgproxy.py