File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 lib ,
55 patchutils ,
66 validatePkgConfig ,
7- nodejs-slim_latest ,
87 icu ,
98
109 buildInputs ? lib . optional ( icu != null ) icu ,
1716 )
1817 ] ,
1918
19+ nodejs-slim_latest ? null ,
2020 configureScript ? nodejs-slim_latest . configureScript ,
2121 nativeBuildInputs ? nodejs-slim_latest . nativeBuildInputs ,
2222 patches ? nodejs-slim_latest . patches ,
@@ -120,9 +120,13 @@ stdenv.mkDerivation (finalAttrs: {
120120 ] ;
121121
122122 buildPhase = ''
123+ runHook preBuild
123124 ninja -v -C out/Release v8_snapshot v8_libplatform
125+ runHook postBuild
124126 '' ;
125127 installPhase = ''
128+ runHook preInstall
129+
126130 ${
127131 if stdenv . hostPlatform . isDarwin then
128132 # Darwin is excluded from creating thin archive in tools/gyp/pylib/gyp/generator/ninja.py:2488
@@ -156,5 +160,7 @@ stdenv.mkDerivation (finalAttrs: {
156160 done) -lstdc++
157161 Cflags: -I${ v8Dir } /include -I${ v8Dir } /third_party/abseil-cpp -I${ v8Dir } /third_party/simdutf
158162 EOF
163+
164+ runHook postInstall
159165 '' ;
160166} )
You can’t perform that action at this time.
0 commit comments