From 73d985f1b59e0058ae52f6e4f7a32fcdc9205295 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 3 Feb 2018 10:05:53 +0100 Subject: [PATCH] buildbot: buildbot-pkg fix Fixes issue mentioned in https://github.com/NixOS/nixpkgs/pull/33992#issuecomment-360937226 --- pkgs/development/tools/build-managers/buildbot/pkg.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/tools/build-managers/buildbot/pkg.nix b/pkgs/development/tools/build-managers/buildbot/pkg.nix index 356ee574429..8b23f8a2488 100644 --- a/pkgs/development/tools/build-managers/buildbot/pkg.nix +++ b/pkgs/development/tools/build-managers/buildbot/pkg.nix @@ -12,6 +12,12 @@ buildPythonPackage rec { propagatedBuildInputs = [ setuptools ]; + postPatch = '' + # Their listdir function filters out `node_modules` folders. + # Do we have to care about that with Nix...? + substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" "" + ''; + meta = with stdenv.lib; { homepage = http://buildbot.net/; description = "Buildbot Packaging Helper";