From 76fc3297949cca60eeb16c5df2947d583019c801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 3 Dec 2015 11:07:30 +0100 Subject: [PATCH] oslo-rootwrap: patch binaries path --- pkgs/top-level/python-packages.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ede54e32551..98be7046188 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11721,6 +11721,13 @@ in modules // { sha256 = "1711rlmykizw675ihbaqmk3ph6ah0njbygxr9lrdnacy6yrlmbd5"; }; + # https://bugs.launchpad.net/oslo.rootwrap/+bug/1519839 + patchPhase = '' + substituteInPlace oslo_rootwrap/filters.py \ + --replace "/bin/cat" "${pkgs.coreutils}/bin/cat" \ + --replace "/bin/kill" "${pkgs.coreutils}/bin/kill" + ''; + buildInputs = with self; [ eventlet mock oslotest ]; propagatedBuildInputs = with self; [ six pbr