lol

pkgs/build-support/cabal: move current postFixup hook into installPhase to free up the postFixup hook for users to override

Builds tend to override pre and post hooks for each phase, so we should not use
them to perform regular build commands that cannot be omitted.

+2 -4
+2 -4
pkgs/build-support/cabal/default.nix
··· 203 203 GHC_PACKAGE_PATH=$installedPkgConf ghc-pkg --global register $pkgConf --force 204 204 fi 205 205 206 - eval "$postInstall" 207 - ''; 208 - 209 - postFixup = '' 210 206 if test -f $out/nix-support/propagated-native-build-inputs; then 211 207 ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages 212 208 fi 209 + 210 + eval "$postInstall" 213 211 ''; 214 212 215 213 # We inherit stdenv and ghc so that they can be used