-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
I've got the following error message when using nix-shell and stack $anyCommand.
building '/nix/store/jp3aifzklr3828kicakbxvs2xh4rfk3x-language-haskell-extract-0.2.4.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/44ifii5d1ppvq25ds63k0pw2vpsd4pj1-ghc-8.6.5.
unpacking sources
unpacking source archive /nix/store/xxwcl13sib66v7bf96gn94qp61jbvn7p-language-haskell-extract-0.2.4.tar.gz
source root is language-haskell-extract-0.2.4
setting SOURCE_DATE_EPOCH to timestamp 1359190809 of file language-haskell-extract-0.2.4/src/Language/Haskell/Extract.hs
patching sources
Run jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/tmp/nix-build-language-haskell-extract-0.2.4.drv-0/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main ( Setup.lhs, /private/tmp/nix-build-language-haskell-extract-0.2.4.drv-0/Main.o )
Linking Setup ...
ld: file not found: /usr/lib/system/libcache.dylib for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
`cc' failed in phase `Linker'. (Exit code: 1)
builder for '/nix/store/jp3aifzklr3828kicakbxvs2xh4rfk3x-language-haskell-extract-0.2.4.drv' failed with exit code 1
building '/nix/store/7fy2g58fw12wdhs0nmhzkh8i3y6z52rs-network-uri-2.6.2.0.drv'...
cannot build derivation '/nix/store/gq7p90yg6244p0d1w3d9jzxqv4mzlz9w-test-framework-th-0.2.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kfblyrwdk37ahggnnvds8jdfj4cyiqbh-lens-4.17.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9yplzxdaylrw6s0kfrn1al16s4214zl4-cabal2nix-2.15.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/v3zr7jvnw8xf8jrapnhsmwcj91qcsa4l-cabal2nix-proto3-suite.drv': 1 dependencies couldn't be built
error: build of '/nix/store/v3zr7jvnw8xf8jrapnhsmwcj91qcsa4l-cabal2nix-proto3-suite.drv' failed
(use '--show-trace' to show detailed location information)
I am using macOS 12.0.1 (Monterey) and can reproduce this error on BigSur, and it works well on Catalina. So I guess it's a problem on macOS >= BigSur?
I've also tried to update the revision to the latest commit but it's not helped :(
Metadata
Metadata
Assignees
Labels
No labels