connman: Use patchPhase instead of preConfigure

This commit is contained in:
Doron Behar 2020-03-02 00:51:52 +02:00
parent e59deafc2d
commit be59cb3be8

View File

@ -84,8 +84,10 @@ stdenv.mkDerivation rec {
; ;
# fix invalid path to 'file' # fix invalid path to 'file'
preConfigure = '' patchPhase = ''
runHook prePatch
sed -i "s/\/usr\/bin\/file/file/g" ./configure sed -i "s/\/usr\/bin\/file/file/g" ./configure
runHook postPatch
''; '';
configureFlags = [ configureFlags = [