From be59cb3be8e74a799202e36c76aa44dc26d3ba20 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 2 Mar 2020 00:51:52 +0200 Subject: [PATCH] connman: Use patchPhase instead of preConfigure --- pkgs/tools/networking/connman/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/connman/default.nix b/pkgs/tools/networking/connman/default.nix index d0242e1e4610..9fcacd29ebef 100644 --- a/pkgs/tools/networking/connman/default.nix +++ b/pkgs/tools/networking/connman/default.nix @@ -84,8 +84,10 @@ stdenv.mkDerivation rec { ; # fix invalid path to 'file' - preConfigure = '' + patchPhase = '' + runHook prePatch sed -i "s/\/usr\/bin\/file/file/g" ./configure + runHook postPatch ''; configureFlags = [