tests.haskell.incremental: change package used from turtle to temporary
With a recent hackage update, turtle stopped compiling on ghc94. This commit changes the tests.haskell.incremental test to use the temporary package instead of turtle.
···99 inherit (haskell.lib.compose) overrideCabal;
10101111 # Incremental builds work with GHC >=9.4.
1212- turtle = haskell.packages.ghc944.turtle;
1212+ temporary = haskell.packages.ghc944.temporary;
13131414- # This will do a full build of `turtle`, while writing the intermediate build products
1414+ # This will do a full build of `temporary`, while writing the intermediate build products
1515 # (compiled modules, etc.) to the `intermediates` output.
1616- turtle-full-build-with-incremental-output = overrideCabal (drv: {
1616+ temporary-full-build-with-incremental-output = overrideCabal (drv: {
1717 doInstallIntermediates = true;
1818 enableSeparateIntermediatesOutput = true;
1919- }) turtle;
1919+ }) temporary;
20202121- # This will do an incremental build of `turtle` by copying the previously
2121+ # This will do an incremental build of `temporary` by copying the previously
2222 # compiled modules and intermediate build products into the source tree
2323 # before running the build.
2424 #
2525 # GHC will then naturally pick up and reuse these products, making this build
2626 # complete much more quickly than the previous one.
2727- turtle-incremental-build = overrideCabal (drv: {
2828- previousIntermediates = turtle-full-build-with-incremental-output.intermediates;
2929- }) turtle;
2727+ temporary-incremental-build = overrideCabal (drv: {
2828+ previousIntermediates = temporary-full-build-with-incremental-output.intermediates;
2929+ }) temporary;
3030in
3131- turtle-incremental-build.overrideAttrs (old: {
3131+ temporary-incremental-build.overrideAttrs (old: {
3232 meta = {
3333 maintainers = lib.teams.mercury.members;
3434 };