File tree Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,14 @@ stdenv.mkDerivation rec {
28
28
nativeBuildInputs = kernel . moduleBuildDependencies ;
29
29
30
30
patchPhase = ''
31
- patchShebangs .
31
+ runHook prePatch
32
32
33
+ patchShebangs .
33
34
substituteInPlace ./makefile \
34
35
--replace-warn '/bin/ls' 'ls' \
35
36
--replace-warn '/bin/bash' '${ lib . getExe bash } '
37
+
38
+ runHook postPatch
36
39
'' ;
37
40
38
41
enableParallelBuilding = true ;
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ stdenv.mkDerivation rec {
21
21
nativeBuildInputs = kernel . moduleBuildDependencies ;
22
22
23
23
patchPhase = ''
24
+ runHook prePatch
24
25
patchShebangs .
26
+ runHook postPatch
25
27
'' ;
26
28
27
29
buildPhase =
Original file line number Diff line number Diff line change @@ -28,11 +28,14 @@ stdenv.mkDerivation rec {
28
28
nativeBuildInputs = kernel . moduleBuildDependencies ;
29
29
30
30
patchPhase = ''
31
- patchShebangs .
31
+ runHook prePatch
32
32
33
+ patchShebangs .
33
34
substituteInPlace ./makefile \
34
35
--replace-warn '/bin/ls' 'ls' \
35
36
--replace-warn '/bin/bash' '${ lib . getExe bash } '
37
+
38
+ runHook postPatch
36
39
'' ;
37
40
38
41
enableParallelBuilding = true ;
Original file line number Diff line number Diff line change @@ -28,11 +28,14 @@ stdenv.mkDerivation rec {
28
28
nativeBuildInputs = kernel . moduleBuildDependencies ;
29
29
30
30
patchPhase = ''
31
- patchShebangs .
31
+ runHook prePatch
32
32
33
+ patchShebangs .
33
34
substituteInPlace ./makefile \
34
35
--replace-warn '/bin/ls' 'ls' \
35
36
--replace-warn '/bin/bash' '${ lib . getExe bash } '
37
+
38
+ runHook postPatch
36
39
'' ;
37
40
38
41
enableParallelBuilding = true ;
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ stdenv.mkDerivation rec {
30
30
31
31
patchPhase =
32
32
''
33
- patchShebangs .
33
+ runHook prePatch
34
34
35
+ patchShebangs .
35
36
substituteInPlace ./ofed_scripts/configure \
36
37
--replace-warn '/bin/cp' 'cp' \
37
38
--replace-warn '/bin/rm' 'rm'
@@ -47,6 +48,8 @@ stdenv.mkDerivation rec {
47
48
--replace-fail '/usr/src/ofa_kernel' '$out/usr/src/ofa_kernel' \
48
49
--replace-warn '/bin/cp' 'cp' \
49
50
--replace-warn '/bin/rm' 'rm'
51
+
52
+ runHook postPatch
50
53
'' ;
51
54
52
55
configureScript = "./configure" ;
You can’t perform that action at this time.
0 commit comments