tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
connman: Use patchPhase instead of preConfigure
Doron Behar
5 years ago
be59cb3b
e59deafc
+3
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
connman
default.nix
+3
-1
pkgs/tools/networking/connman/default.nix
···
84
;
85
86
# fix invalid path to 'file'
87
-
preConfigure = ''
0
88
sed -i "s/\/usr\/bin\/file/file/g" ./configure
0
89
'';
90
91
configureFlags = [
···
84
;
85
86
# fix invalid path to 'file'
87
+
patchPhase = ''
88
+
runHook prePatch
89
sed -i "s/\/usr\/bin\/file/file/g" ./configure
90
+
runHook postPatch
91
'';
92
93
configureFlags = [