input-output-hk / haskell.nix

Alternative Haskell Infrastructure for Nixpkgs
https://input-output-hk.github.io/haskell.nix
Apache License 2.0
558 stars 240 forks source link

`aarch64-darwin` build failures in recent haskell.nix #1708

Closed dhess closed 2 years ago

dhess commented 2 years ago

We're experiencing build failures on aarch64-darwin in recent haskell.nix revs. 20c33afad920746af56329f7a92423c244bfabbe works fine, but since then (including 7a81744da25545cfdc3979194e9a2676b80cea16), we've been getting 100% reproducible build failures like this one:

error: builder for '/nix/store/yij0my8lwdzd4q42v3dnrmnz07c3hy8y-hoogle-lib-hoogle-5.0.18.3.drv' failed with exit code 137;
       last 10 log lines:
       > Warning: hoogle.cabal:1:28: Packages with 'cabal-version: 1.12' or later
       > should specify a specific version of the Cabal spec of the form
       > 'cabal-version: x.y'. Use 'cabal-version: 1.18'.
       > Configuring library for hoogle-5.0.18.3..
       > building
       > Preprocessing library for hoogle-5.0.18.3..
       > Building library for hoogle-5.0.18.3..
       > [ 1 of 28] Compiling General.Str      ( src/General/Str.hs, dist/build/General/Str.o, dist/build/General/Str.dyn_o )
       > [ 2 of 28] Compiling General.IString  ( src/General/IString.hs, dist/build/General/IString.o, dist/build/General/IString.dyn_o )
       > /nix/store/0fwpcpd3sqx44613d545rqazzyph4ynl-stdenv-darwin/setup: line 1398: 72165 Killed: 9               $SETUP_HS build lib:hoogle -j$(($NIX_BUILD_CORES > 4 ? 4 : $NIX_BUILD_CORES)) --ghc-option=-fPIC --gcc-option=-fPIC
       For full logs, run 'nix log /nix/store/yij0my8lwdzd4q42v3dnrmnz07c3hy8y-hoogle-lib-hoogle-5.0.18.3.drv'.
error: 1 dependencies of derivation '/nix/store/2f9zjnyy01xr6i7d8fbdm53wqya19lp5-hoogle-exe-hoogle-5.0.18.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2jx55ii5xiq8akgkvzgpji8l9hyr9nkk-hoogle-with-packages.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rccinhsyrjypnispj59hqwxb0bg4lrqj-ghc-shell-for-packages-ghc-9.2.4-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/463687vg6kfhjw6919z84virq3rb0f6k-ghc-shell-for-packages-env.drv' failed to build

Oddly, it only seems to affect tools or other packages that are part of the shell, such as Hoogle (above) and haskell-language-server. Our main package builds fine. Our x86_64-linux and aarch64-linux builds are all OK, as well.

I suspected a nipxkgs issue, but we're using the haskell.nix nixpkgs-unstable pin and it's the same pin in both 20c33afad920746af56329f7a92423c244bfabbe (working) and 7a81744da25545cfdc3979194e9a2676b80cea16 (not working).

This is reproducible across multiple machines, so it doesn't appear to be a hardware issue.

Any ideas?

hamishmack commented 2 years ago
       > /nix/store/0fwpcpd3sqx44613d545rqazzyph4ynl-stdenv-darwin/setup: line 1398: 72165 Killed: 9               $SETUP_HS build lib:hoogle -j$(($NIX_BUILD_CORES > 4 ? 4 : $NIX_BUILD_CORES)) --ghc-option=-fPIC --gcc-option=-fPIC
       For full logs, run 'nix log /nix/store/yij0my8lwdzd4q42v3dnrmnz07c3hy8y-hoogle-lib-hoogle-5.0.18.3.drv'.

This looks like something might have killed the hoogle build. Is it possible there was another error that caused nix to give up and kill the running builds?

What ghc version is it using?

I have tried to reproduce this issue with:

nix-build -E '(import ./. { system = "aarch64-darwin";}).pkgs-unstable.haskell-nix.tool "ghc8107" "hoogle" {}'
nix-build -E '(import ./. { system = "aarch64-darwin";}).pkgs-unstable.haskell-nix.tool "ghc902" "hoogle" {}'
nix-build -E '(import ./. { system = "aarch64-darwin";}).pkgs-unstable.haskell-nix.tool "ghc924" "hoogle" {}'

There was a new version of hlint (3.5) uploaded to hackage recently that does not build with GHC 8.10.7. You might need something like this if you are using ghc 8.10.7:

...cabalProject' ({pkgs, config, ...}: {
   ...
   shell.tools.hlint = { ghc8107 = "3.4.1"; }.${config.compiler-nix-name} or "latest";
})
dhess commented 2 years ago

We're using GHC 9.2.4, and have been for awhile.

What happens when you run this?

nix-build -E '(import ./. { system = "aarch64-darwin";}).pkgs-unstable.haskell-nix.tool "ghc924" "haskell-language-server" {}'

For me, with 4b2b4600801dadcecad2002a35872fa436090014, it reproducibly breaks:

trace: No index state specified for haskell-language-server, using the latest index state that we know about (2022-09-24T00:00:00Z)!
these 4 derivations will be built:
  /nix/store/pdky0az42qch96746ph0mg14vckihxjn-haskell-language-server-lib-haskell-language-server-1.8.0.0.drv
  /nix/store/zjaq5zn4c2l27rm0pvaw4dflzx231yks-haskell-language-server-exe-haskell-language-server-1.8.0.0-config.drv
  /nix/store/5llp68amp3dni2cpsnxj0cmzihqkz28y-haskell-language-server-exe-haskell-language-server-1.8.0.0-ghc-9.2.4-env.drv
  /nix/store/jwkq18k998cjm2fj0hbzh7da4s9h3n4p-haskell-language-server-exe-haskell-language-server-1.8.0.0.drv
building '/nix/store/pdky0az42qch96746ph0mg14vckihxjn-haskell-language-server-lib-haskell-language-server-1.8.0.0.drv'...
unpacking sources
unpacking source archive /nix/store/hf7n92z7f6d6nl8x68vw76s3hdn38bag-haskell-language-server-1.8.0.0-src
source root is haskell-language-server-1.8.0.0-src
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
Configure flags:
--prefix=/nix/store/di9isja6s7hyvf0vymddxp6rgy5lgacp-haskell-language-server-lib-haskell-language-server-1.8.0.0 lib:haskell-language-server --package-db=clear --package-db=/nix/store/r2csnbl0dpbx90ql9acnqy3vny3cpjlv-haskell-language-server-lib-haskell-language-server-1.8.0.0-config/lib/ghc-9.2.4/package.conf.d --flags=alternatenumberformat --flags=brittany --flags=callhierarchy --flags=changetypesignature --flags=class --flags=coderange --flags=dynamic --flags=eval --flags=explicitfixity --flags=floskell --flags=fourmolu --flags=gadt --flags=-haddockcomments --flags=-hlint --flags=-ignore-plugins-ghc-bounds --flags=importlens --flags=modulename --flags=ormolu --flags=-pedantic --flags=pragmas --flags=-qualifyimportednames --flags=refactor --flags=refineimports --flags=rename --flags=retrie --flags=splice --flags=stan --flags=-stylishhaskell --flags=tactic --exact-configuration --dependency=directory=directory-1.3.6.2-6vJlGBxONuH7yI5ZozcnMi --dependency=extra=extra-1.7.12-IhK1fonWxkT5HoqmiCsYS --dependency=filepath=filepath-1.4.2.2-GXrpnXcmwJ1LcbCOf4cBmM --dependency=text=text-1.2.5.0-B336hruu8LkEc19BqHCzAw --dependency=prettyprinter=prettyprinter-1.7.1-HV06hVT8sZo6MAwBWzu37F --dependency=async=async-2.2.4-F1M6HiMus0o6Iu4ByEjLIU --dependency=base16-bytestring=base16-bytestring-1.0.2.0-4E1x5I4aWJk4KmNM4yum9m --dependency=bytestring=bytestring-0.11.3.1-3QerDoAWNKDFzx4R63X18a --dependency=containers=containers-0.6.5.1-3kNUZqtF7Xf1Gs4JKZy2Bz --dependency=cryptohash-sha1=cryptohash-sha1-0.11.101.0-ADaAHDr0Cr8D7WF7Jrw3n0 --dependency=data-default=data-default-0.7.1.1-Bj41ncZt69p8twMRmUFMy8 --dependency=ghc=ghc-9.2.4-8YPnDRJzq0C3Bzf74BbzSz --dependency=ghcide=ghcide-1.8.0.0-ADrAGFQniAHIRJGGgZTehe --dependency=githash=githash-0.1.6.2-1dduJ2brpzo3Bq5cLXD3uD --dependency=lsp=lsp-1.6.0.0-8z5zFpbJKSt2hX3R2jmVNN --dependency=hie-bios=hie-bios-0.11.0-Eq4VQ5YXKIi6pJCMqmL3pp --dependency=hiedb=hiedb-0.4.2.0-2maqTsHVxiPBaWAydIFuKf --dependency=hls-plugin-api=hls-plugin-api-1.5.0.0-IeIlhMAH4VsIXfXtDdsgcH --dependency=optparse-applicative=optparse-applicative-0.16.1.0-8DbvSMgArxL9GnbvqwHq33 --dependency=optparse-simple=optparse-simple-0.1.1.4-5jDfoPWCXftB7gB6cS4e1y --dependency=process=process-1.6.13.2-Lrzo1OVUVzH5lGguBBn7tT --dependency=hls-graph=hls-graph-1.8.0.0-H4f23JhF7uM6tTk3a1x0Es --dependency=safe-exceptions=safe-exceptions-0.1.7.3-9QsY6XBul6aI4iScpAXgwC --dependency=sqlite-simple=sqlite-simple-0.4.18.2-GT5TF8Uzqko2tZbTQUhEIo --dependency=unordered-containers=unordered-containers-0.2.19.1-ICCmiEN7ZuhH6ZeWXCfvwS --dependency=aeson-pretty=aeson-pretty-0.8.9-EFyQmkFZShHKd5pePKZIaE --dependency=hls-call-hierarchy-plugin=hls-call-hierarchy-plugin-1.1.0.0-IftvVkFJWqT2lOcV8o3Tcx --dependency=hls-change-type-signature-plugin=hls-change-type-signature-plugin-1.0.1.1-39Q5Vemlb0E685uPVW0isd --dependency=hls-class-plugin=hls-class-plugin-1.1.0.0-ECu2a2DzmQv5BHs8dSPuGx --dependency=hls-eval-plugin=hls-eval-plugin-1.3.0.0-l3CywIV0Py4KuH2Nk8Ub1 --dependency=hls-explicit-imports-plugin=hls-explicit-imports-plugin-1.1.0.1-FlCyY2oRijnAdAlnGzFtzU --dependency=hls-refine-imports-plugin=hls-refine-imports-plugin-1.0.3.0-JleeLf8osfJ3fdkVvMl59T --dependency=hls-rename-plugin=hls-rename-plugin-1.0.1.0-9nMhgpWkdNF56KzzoMfnjk --dependency=hls-retrie-plugin=hls-retrie-plugin-1.0.2.2-1khAFl34svhHQOoX1n1fmy --dependency=hls-module-name-plugin=hls-module-name-plugin-1.1.0.0-5Du275MVKc3LLEp7FP5MNg --dependency=hls-pragmas-plugin=hls-pragmas-plugin-1.0.3.0-DPczrlroMdyBqRLA8spII2 --dependency=hls-alternate-number-format-plugin=hls-alternate-number-format-plugin-1.2.0.0-3eihctNGl7VA3SwpTovVxF --dependency=hls-code-range-plugin=hls-code-range-plugin-1.0.0.0-FFD1MKxwnCI7f3ONbOgwVi --dependency=hls-gadt-plugin=hls-gadt-plugin-1.0.0.0-5oMooun02QO7QecIR6Ifyr --dependency=hls-explicit-fixity-plugin=hls-explicit-fixity-plugin-1.0.0.0-AWWeVn15xrfDdTTZJPdoQw --dependency=hls-floskell-plugin=hls-floskell-plugin-1.0.1.2-8al6TB9OUuP2nxPoAUVZdu --dependency=hls-fourmolu-plugin=hls-fourmolu-plugin-1.1.0.0-56mIXzVqDENLRCL2E5Zihz --dependency=hls-ormolu-plugin=hls-ormolu-plugin-1.0.2.2-E0vGtc8Jzgw2Lb0mq9ekkX --dependency=hls-refactor-plugin=hls-refactor-plugin-1.0.0.0-CId8tGiLWzE43lly9N8QKK --dependency=array=array-0.5.4.0 --dependency=base=base-4.16.3.0 --dependency=deepseq=deepseq-1.4.6.1 --dependency=ghc-bignum=ghc-bignum-1.2 --dependency=ghc-boot-th=ghc-boot-th-9.2.4 --dependency=ghc-prim=ghc-prim-0.8.0 --dependency=integer-gmp=integer-gmp-1.1 --dependency=pretty=pretty-1.1.3.6 --dependency=rts=rts --dependency=template-haskell=template-haskell-2.18.0.0 --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ld=ld --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-coverage --enable-library-for-ghci --datadir=/nix/store/xbnwmi2k47izbzpgwysbxbp0fvby0nb0-haskell-language-server-lib-haskell-language-server-1.8.0.0-data/share/ghc-9.2.4 
Configuring library for haskell-language-server-1.8.0.0..
building
Preprocessing library for haskell-language-server-1.8.0.0..
Building library for haskell-language-server-1.8.0.0..
[1 of 5] Compiling HlsPlugins       ( src/HlsPlugins.hs, dist/build/HlsPlugins.o, dist/build/HlsPlugins.dyn_o )
/nix/store/0fwpcpd3sqx44613d545rqazzyph4ynl-stdenv-darwin/setup: line 1398: 34237 Killed: 9               $SETUP_HS build lib:haskell-language-server -j$(($NIX_BUILD_CORES > 4 ? 4 : $NIX_BUILD_CORES)) --ghc-option=-fPIC --gcc-option=-fPIC
error: builder for '/nix/store/pdky0az42qch96746ph0mg14vckihxjn-haskell-language-server-lib-haskell-language-server-1.8.0.0.drv' failed with exit code 137;
       last 10 log lines:
       > updateAutotoolsGnuConfigScriptsPhase
       > configuring
       > Configure flags:
       > --prefix=/nix/store/di9isja6s7hyvf0vymddxp6rgy5lgacp-haskell-language-server-lib-haskell-language-server-1.8.0.0 lib:haskell-language-server --package-db=clear --package-db=/nix/store/r2csnbl0dpbx90ql9acnqy3vny3cpjlv-haskell-language-server-lib-haskell-language-server-1.8.0.0-config/lib/ghc-9.2.4/package.conf.d --flags=alternatenumberformat --flags=brittany --flags=callhierarchy --flags=changetypesignature --flags=class --flags=coderange --flags=dynamic --flags=eval --flags=explicitfixity --flags=floskell --flags=fourmolu --flags=gadt --flags=-haddockcomments --flags=-hlint --flags=-ignore-plugins-ghc-bounds --flags=importlens --flags=modulename --flags=ormolu --flags=-pedantic --flags=pragmas --flags=-qualifyimportednames --flags=refactor --flags=refineimports --flags=rename --flags=retrie --flags=splice --flags=stan --flags=-stylishhaskell --flags=tactic --exact-configuration --dependency=directory=directory-1.3.6.2-6vJlGBxONuH7yI5ZozcnMi --dependency=extra=extra-1.7.12-IhK1fonWxkT5HoqmiCsYS --dependency=filepath=filepath-1.4.2.2-GXrpnXcmwJ1LcbCOf4cBmM --dependency=text=text-1.2.5.0-B336hruu8LkEc19BqHCzAw --dependency=prettyprinter=prettyprinter-1.7.1-HV06hVT8sZo6MAwBWzu37F --dependency=async=async-2.2.4-F1M6HiMus0o6Iu4ByEjLIU --dependency=base16-bytestring=base16-bytestring-1.0.2.0-4E1x5I4aWJk4KmNM4yum9m --dependency=bytestring=bytestring-0.11.3.1-3QerDoAWNKDFzx4R63X18a --dependency=containers=containers-0.6.5.1-3kNUZqtF7Xf1Gs4JKZy2Bz --dependency=cryptohash-sha1=cryptohash-sha1-0.11.101.0-ADaAHDr0Cr8D7WF7Jrw3n0 --dependency=data-default=data-default-0.7.1.1-Bj41ncZt69p8twMRmUFMy8 --dependency=ghc=ghc-9.2.4-8YPnDRJzq0C3Bzf74BbzSz --dependency=ghcide=ghcide-1.8.0.0-ADrAGFQniAHIRJGGgZTehe --dependency=githash=githash-0.1.6.2-1dduJ2brpzo3Bq5cLXD3uD --dependency=lsp=lsp-1.6.0.0-8z5zFpbJKSt2hX3R2jmVNN --dependency=hie-bios=hie-bios-0.11.0-Eq4VQ5YXKIi6pJCMqmL3pp --dependency=hiedb=hiedb-0.4.2.0-2maqTsHVxiPBaWAydIFuKf --dependency=hls-plugin-api=hls-plugin-api-1.5.0.0-IeIlhMAH4VsIXfXtDdsgcH --dependency=optparse-applicative=optparse-applicative-0.16.1.0-8DbvSMgArxL9GnbvqwHq33 --dependency=optparse-simple=optparse-simple-0.1.1.4-5jDfoPWCXftB7gB6cS4e1y --dependency=process=process-1.6.13.2-Lrzo1OVUVzH5lGguBBn7tT --dependency=hls-graph=hls-graph-1.8.0.0-H4f23JhF7uM6tTk3a1x0Es --dependency=safe-exceptions=safe-exceptions-0.1.7.3-9QsY6XBul6aI4iScpAXgwC --dependency=sqlite-simple=sqlite-simple-0.4.18.2-GT5TF8Uzqko2tZbTQUhEIo --dependency=unordered-containers=unordered-containers-0.2.19.1-ICCmiEN7ZuhH6ZeWXCfvwS --dependency=aeson-pretty=aeson-pretty-0.8.9-EFyQmkFZShHKd5pePKZIaE --dependency=hls-call-hierarchy-plugin=hls-call-hierarchy-plugin-1.1.0.0-IftvVkFJWqT2lOcV8o3Tcx --dependency=hls-change-type-signature-plugin=hls-change-type-signature-plugin-1.0.1.1-39Q5Vemlb0E685uPVW0isd --dependency=hls-class-plugin=hls-class-plugin-1.1.0.0-ECu2a2DzmQv5BHs8dSPuGx --dependency=hls-eval-plugin=hls-eval-plugin-1.3.0.0-l3CywIV0Py4KuH2Nk8Ub1 --dependency=hls-explicit-imports-plugin=hls-explicit-imports-plugin-1.1.0.1-FlCyY2oRijnAdAlnGzFtzU --dependency=hls-refine-imports-plugin=hls-refine-imports-plugin-1.0.3.0-JleeLf8osfJ3fdkVvMl59T --dependency=hls-rename-plugin=hls-rename-plugin-1.0.1.0-9nMhgpWkdNF56KzzoMfnjk --dependency=hls-retrie-plugin=hls-retrie-plugin-1.0.2.2-1khAFl34svhHQOoX1n1fmy --dependency=hls-module-name-plugin=hls-module-name-plugin-1.1.0.0-5Du275MVKc3LLEp7FP5MNg --dependency=hls-pragmas-plugin=hls-pragmas-plugin-1.0.3.0-DPczrlroMdyBqRLA8spII2 --dependency=hls-alternate-number-format-plugin=hls-alternate-number-format-plugin-1.2.0.0-3eihctNGl7VA3SwpTovVxF --dependency=hls-code-range-plugin=hls-code-range-plugin-1.0.0.0-FFD1MKxwnCI7f3ONbOgwVi --dependency=hls-gadt-plugin=hls-gadt-plugin-1.0.0.0-5oMooun02QO7QecIR6Ifyr --dependency=hls-explicit-fixity-plugin=hls-explicit-fixity-plugin-1.0.0.0-AWWeVn15xrfDdTTZJPdoQw --dependency=hls-floskell-plugin=hls-floskell-plugin-1.0.1.2-8al6TB9OUuP2nxPoAUVZdu --dependency=hls-fourmolu-plugin=hls-fourmolu-plugin-1.1.0.0-56mIXzVqDENLRCL2E5Zihz --dependency=hls-ormolu-plugin=hls-ormolu-plugin-1.0.2.2-E0vGtc8Jzgw2Lb0mq9ekkX --dependency=hls-refactor-plugin=hls-refactor-plugin-1.0.0.0-CId8tGiLWzE43lly9N8QKK --dependency=array=array-0.5.4.0 --dependency=base=base-4.16.3.0 --dependency=deepseq=deepseq-1.4.6.1 --dependency=ghc-bignum=ghc-bignum-1.2 --dependency=ghc-boot-th=ghc-boot-th-9.2.4 --dependency=ghc-prim=ghc-prim-0.8.0 --dependency=integer-gmp=integer-gmp-1.1 --dependency=pretty=pretty-1.1.3.6 --dependency=rts=rts --dependency=template-haskell=template-haskell-2.18.0.0 --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ld=ld --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-coverage --enable-library-for-ghci --datadir=/nix/store/xbnwmi2k47izbzpgwysbxbp0fvby0nb0-haskell-language-server-lib-haskell-language-server-1.8.0.0-data/share/ghc-9.2.4
       > Configuring library for haskell-language-server-1.8.0.0..
       > building
       > Preprocessing library for haskell-language-server-1.8.0.0..
       > Building library for haskell-language-server-1.8.0.0..
       > [1 of 5] Compiling HlsPlugins       ( src/HlsPlugins.hs, dist/build/HlsPlugins.o, dist/build/HlsPlugins.dyn_o )
       > /nix/store/0fwpcpd3sqx44613d545rqazzyph4ynl-stdenv-darwin/setup: line 1398: 34237 Killed: 9               $SETUP_HS build lib:haskell-language-server -j$(($NIX_BUILD_CORES > 4 ? 4 : $NIX_BUILD_CORES)) --ghc-option=-fPIC --gcc-option=-fPIC
       For full logs, run 'nix log /nix/store/pdky0az42qch96746ph0mg14vckihxjn-haskell-language-server-lib-haskell-language-server-1.8.0.0.drv'.
error: 1 dependencies of derivation '/nix/store/jwkq18k998cjm2fj0hbzh7da4s9h3n4p-haskell-language-server-exe-haskell-language-server-1.8.0.0.drv' failed to build

Ditto for ghc8107.

chfanghr commented 2 years ago

Experienced the same issue recently:

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/5pkdp33s30xn8j8mwwhg57fzra6zsj4i-pretty-show-1.10.tar.gz
source root is pretty-show-1.10
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file pretty-show-1.10/style/pretty-show.js
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
Configure flags:
--prefix=/nix/store/39pzqz8r8alxpn7yqfvqrsi4q927yr36-pretty-show-lib-pretty-show-1.10 lib:pretty-show --package-db=clear --package-db=/nix/store/ymp4r84z8hwnj5yq3nvba1sqavfbxvq1-pretty-show-lib-pretty-show-1.10-config/lib/ghc-9.2.4/package.conf.d --exact-configuration --dependency=haskell-lexer=haskell-lexer-1.1-IsK4Toipx7kESYpYhMYklf --dependency=Cabal=Cabal-3.6.3.0 --dependency=array=array-0.5.4.0 --dependency=base=base-4.16.3.0 --dependency=binary=binary-0.8.9.0 --dependency=bytestring=bytestring-0.11.3.1 --dependency=containers=containers-0.6.5.1 --dependency=deepseq=deepseq-1.4.6.1 --dependency=directory=directory-1.3.6.2 --dependency=exceptions=exceptions-0.10.4 --dependency=filepath=filepath-1.4.2.2 --dependency=ghc=ghc-9.2.4 --dependency=ghc-bignum=ghc-bignum-1.2 --dependency=ghc-boot=ghc-boot-9.2.4 --dependency=ghc-boot-th=ghc-boot-th-9.2.4 --dependency=ghc-compact=ghc-compact-0.1.0.0 --dependency=ghc-heap=ghc-heap-9.2.4 --dependency=ghc-prim=ghc-prim-0.8.0 --dependency=hpc=hpc-0.6.1.0 --dependency=integer-gmp=integer-gmp-1.1 --dependency=mtl=mtl-2.2.2 --dependency=parsec=parsec-3.1.15.0 --dependency=pretty=pretty-1.1.3.6 --dependency=process=process-1.6.13.2 --dependency=rts=rts --dependency=stm=stm-2.5.0.2 --dependency=template-haskell=template-haskell-2.18.0.0 --dependency=terminfo=terminfo-0.4.1.5 --dependency=text=text-1.2.5.0 --dependency=time=time-1.11.1.1 --dependency=transformers=transformers-0.5.6.2 --dependency=unix=unix-2.7.2.2 --dependency=xhtml=xhtml-3000.2.2.1 --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ld=ld --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-coverage --enable-library-for-ghci --datadir=/nix/store/5q6hxpa4hl1kpy9c1gaxgqbslfixhnv6-pretty-show-lib-pretty-show-1.10-data/share/ghc-9.2.4
Configuring library for pretty-show-1.10..
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Preprocessing library for pretty-show-1.10..
/nix/store/0fwpcpd3sqx44613d545rqazzyph4ynl-stdenv-darwin/setup: line 1397: 97664 Killed: 9               $SETUP_HS build lib:pretty-show -j1 --ghc-option=-fPIC --gcc-option=-fPIC
❯ nix --version
nix (Nix) 2.11.0
❯ uname -a
Darwin bruh 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64 arm Darwin
dhess commented 2 years ago

We're also running nix 2.11.0, but it's the same result on 2.10 as well.

dhess commented 2 years ago

This seems to have resolved itself on recent haskell.nix versions.

michaelpj commented 2 years ago

Let's close this in a spirit of hope, then. Do reopen if it recurs!