tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dotnetHook: rename phase functions Hook -> Phase
David McFarland
6 months ago
c8ae12c5
0a734f6b
+10
-10
1 changed file
expand all
collapse all
unified
split
pkgs
build-support
dotnet
build-dotnet-module
hook
dotnet-hook.sh
+10
-10
pkgs/build-support/dotnet/build-dotnet-module/hook/dotnet-hook.sh
···
1
1
-
dotnetConfigureHook() {
1
1
+
dotnetConfigurePhase() {
2
2
echo "Executing dotnetConfigureHook"
3
3
4
4
runHook preConfigure
···
74
74
}
75
75
76
76
if [[ -z "${dontDotnetConfigure-}" && -z "${configurePhase-}" ]]; then
77
77
-
configurePhase=dotnetConfigureHook
77
77
+
configurePhase=dotnetConfigurePhase
78
78
fi
79
79
80
80
-
dotnetBuildHook() {
80
80
+
dotnetBuildPhase() {
81
81
echo "Executing dotnetBuildHook"
82
82
83
83
runHook preBuild
···
166
166
}
167
167
168
168
if [[ -z ${dontDotnetBuild-} && -z ${buildPhase-} ]]; then
169
169
-
buildPhase=dotnetBuildHook
169
169
+
buildPhase=dotnetBuildPhase
170
170
fi
171
171
172
172
-
dotnetCheckHook() {
172
172
+
dotnetCheckPhase() {
173
173
echo "Executing dotnetCheckHook"
174
174
175
175
runHook preCheck
···
248
248
}
249
249
250
250
if [[ -z "${dontDotnetCheck-}" && -z "${checkPhase-}" ]]; then
251
251
-
checkPhase=dotnetCheckHook
251
251
+
checkPhase=dotnetCheckPhase
252
252
fi
253
253
254
254
# For compatibility, convert makeWrapperArgs to an array unless we are using
···
316
316
echo "installed wrapper to "$2""
317
317
}
318
318
319
319
-
dotnetFixupHook() {
319
319
+
dotnetFixupPhase() {
320
320
local -r dotnetInstallPath="${dotnetInstallPath-$out/lib/$pname}"
321
321
322
322
local executable executableBasename
···
350
350
}
351
351
352
352
if [[ -z "${dontFixup-}" && -z "${dontDotnetFixup-}" ]]; then
353
353
-
appendToVar preFixupPhases dotnetFixupHook
353
353
+
appendToVar preFixupPhases dotnetFixupPhase
354
354
fi
355
355
356
356
-
dotnetInstallHook() {
356
356
+
dotnetInstallPhase() {
357
357
echo "Executing dotnetInstallHook"
358
358
359
359
runHook preInstall
···
465
465
}
466
466
467
467
if [[ -z "${dontDotnetInstall-}" && -z "${installPhase-}" ]]; then
468
468
-
installPhase=dotnetInstallHook
468
468
+
installPhase=dotnetInstallPhase
469
469
fi