diff --git a/pkgs/tools/networking/connman/connman.nix b/pkgs/tools/networking/connman/connman.nix index f79b9875b9bc..c700d6864a97 100644 --- a/pkgs/tools/networking/connman/connman.nix +++ b/pkgs/tools/networking/connman/connman.nix @@ -84,10 +84,8 @@ stdenv.mkDerivation rec { ; # fix invalid path to 'file' - patchPhase = '' - runHook prePatch + postPatch = '' sed -i "s/\/usr\/bin\/file/file/g" ./configure - runHook postPatch ''; configureFlags = [