Open goodlyrottenapple opened 1 year ago
@goodlyrottenapple, do you have the same issue if you build haskellPackages.ormolu_0_5_0_1
(on nixpkgs
' release-22.11
branch)?
different error
@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
setupCompilerEnvironmentPhase
Build with /nix/store/qfavpv5wdjaadrlihdka7mv32raa99wb-ghc-9.0.2.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/25dxzsb36n96ibm6c9lbagvswxw6l95w-ormolu-0.5.0.1.tar.gz
source root is ormolu-0.5.0.1
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file ormolu-0.5.0.1/tests/Spec.hs
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/tmp/nix-build-ormolu-0.5.0.1.drv-0/tmp.uFFynq4slC/setup-package.conf.d -j8 -threaded -rtsopts
[1 of 1] Compiling Main ( Setup.hs, /private/tmp/nix-build-ormolu-0.5.0.1.drv-0/tmp.uFFynq4slC/Main.o )
Linking Setup ...
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
configureFlags: --verbose --prefix=/nix/store/j0kdyhwlb6ykcdr80zy5jaha90vmf3iy-ormolu-0.5.0.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/y0rsbpg3gwya9z8d0qd2lakrpcl008rl-ormolu-0.5.0.1-doc/share/doc/ormolu-0.5.0.1 --with-gcc=clang --package-db=/private/tmp/nix-build-ormolu-0.5.0.1.drv-0/tmp.uFFynq4slC/package.conf.d --ghc-options=-j8 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-options=-haddock -f-fixity-th --extra-lib-dirs=/nix/store/8h7609yp0qw6yj8hd6662w7ahmamjsad-ncurses-6.3-p20220507/lib --extra-lib-dirs=/nix/store/xvbyb8wxgaa760b6v1mpj96z33ssfzxj-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/fzf4716m9p1k9cyqq32n5pzxd82xjxfp-gmp-with-cxx-6.2.1/lib --extra-include-dirs=/nix/store/rhl9q5gk6f37d0jk55z6bhdhl43xz6yn-libiconv-50/include --extra-lib-dirs=/nix/store/rhl9q5gk6f37d0jk55z6bhdhl43xz6yn-libiconv-50/lib --extra-include-dirs=/nix/store/80pvq927ij4gnrjblr158c2fys7v7nfh-libcxx-11.1.0-dev/include --extra-lib-dirs=/nix/store/wlqz9dhf202ir0wddbcicqm737vznf80-libcxx-11.1.0/lib --extra-include-dirs=/nix/store/f3s72pm62z5ygp099nx49nbkmxwwmr41-libcxxabi-11.1.0-dev/include --extra-lib-dirs=/nix/store/1vngndxhl8pw2p925y7icx8j58ndksn4-libcxxabi-11.1.0/lib --extra-lib-dirs=/nix/store/n5z71i1l7jr8qg75vavf7374axvwpsaa-compiler-rt-libc-11.1.0/lib --extra-framework-dirs=/nix/store/9akqcl59rcicfyfxqqnk6qsc4xv1aww7-apple-framework-CoreFoundation-11.0.0/Library/Frameworks --extra-include-dirs=/nix/store/pvypwlaxj3zzmb8n2yvapqdknpk73kvh-libobjc-11.0.0/include --extra-lib-dirs=/nix/store/pvypwlaxj3zzmb8n2yvapqdknpk73kvh-libobjc-11.0.0/lib
Using Parsec parser
Configuring ormolu-0.5.0.1...
Setup: Encountered missing or private dependencies:
Cabal >=3.6 && <3.7, ghc-lib-parser >=9.2 && <9.3
the command was nix shell nixpkgs/nixos-22.11#haskellPackages.ormolu_0_5_0_1
Trying to enter the dev shell via
nix develop
on an M1 Mac segfaults with a clang linker segfault buildingormolu
: