···2727 } ":";
2828 };
29293030- # the INI file can now be given as plain old nix values
3130in
3131+# the INI file can now be given as plain old nix values
3232customToINI {
3333 main = {
3434 pushinfo = true;
···106106 configurePhase = generated.configure;
107107108108 installPhase = ''
109109+ runHook preInstall
110110+109111 # This is a special function that invokes swiftpm to find the location
110112 # of the binaries it produced.
111113 binPath="$(swiftpmBinPath)"
112114 # Now perform any installation steps.
113115 mkdir -p $out/bin
114116 cp $binPath/myproject $out/bin/
117117+118118+ runHook postInstall
115119 '';
116120}
117121```