diff --git a/derivation.nix b/derivation.nix index a0b337d..da9e53b 100644 --- a/derivation.nix +++ b/derivation.nix @@ -39,6 +39,15 @@ pkgs.python3Packages.buildPythonPackage rec { hash = "sha256-S/2eFfIRL26OaMUZQ0B628tmWjyaLqQCUmGTVqBBSsA="; }; + patches = [ + # fix http downloads + (pkgs.fetchpatch { + url = "https://github.com/dd-ix/arouteserver/commit/fc0e78acb78c4ccb1a90db416456ccf03cbf5a42.patch"; + hash = "sha256-SfNmF1t0veCItpLPf4e6zXtNpu2pj3gpCu2b3Bca8gI="; + }) + ]; + + nativeBuildInputs = with pkgs.python3Packages; [ setuptools ];