Skip to content

Error: Setup: Encountered missing or private dependencies: system-cxx-std-lib ==1.0 when trying to build double-conversion #1939

Closed
@ocharles

Description

@ocharles

circuithub-haskell-nix is a Haskell.nix project. If I do:

nix-build nix/pkgs -A circuithub-haskell-nix.double-conversion

I get

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/crfiy8a8h5nyzph2l5fxmssg5zdgqwxv-double-conversion-2.0.4.2.tar.gz
source root is double-conversion-2.0.4.2
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file double-conversion-2.0.4.2/tests/Regressions.hs
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
'/build/.attr-0h9ydb7s8pfhl5kfs3rmmwnmpi49yyiw7jgr5dpw9rmvv8sy0f2b' -> 'double-conversion.cabal'
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
Configure flags:
--prefix=/nix/store/2lsl2y8jf6iid3lfim1jma1j5nx239bc-double-conversion-lib-double-conversion-2.0.4.2 lib:double-conversion --package-db=clear --package-db=/nix/store/3wgf9f3rfi1295r3lh3ypqwacp6hxw77-double-conversion-lib-double-conversion-2.0.4.2-configFiles/lib/ghc-9.4.5/lib/package.conf.d --flags=-developer --flags=embedded_double_conversion --exact-configuration --dependency=array=array-0.5.4.0 --dependency=base=base-4.17.1.0 --dependency=binary=binary-0.8.9.1 --dependency=bytestring=bytestring-0.11.4.0 --dependency=containers=containers-0.6.7 --dependency=deepseq=deepseq-1.4.8.0 --dependency=directory=directory-1.3.7.1 --dependency=exceptions=exceptions-0.10.5 --dependency=filepath=filepath-1.4.2.2 --dependency=ghc=ghc-9.4.5 --dependency=ghc-bignum=ghc-bignum-1.3 --dependency=ghc-boot=ghc-boot-9.4.5 --dependency=ghc-boot-th=ghc-boot-th-9.4.5 --dependency=ghc-compact=ghc-compact-0.1.0.0 --dependency=ghc-heap=ghc-heap-9.4.5 --dependency=ghc-prim=ghc-prim-0.9.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.16.1 --dependency=pretty=pretty-1.1.3.6 --dependency=process=process-1.6.16.0 --dependency=rts=rts-1.0.2 --dependency=stm=stm-2.5.1.0 --dependency=template-haskell=template-haskell-2.19.0.0 --dependency=terminfo=terminfo-0.4.1.5 --dependency=text=text-2.0.2 --dependency=time=time-1.12.2 --dependency=transformers=transformers-0.5.6.2 --dependency=unix=unix-2.7.3 --dependency=xhtml=xhtml-3000.2.2.1 --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ar=ar --with-strip=strip --enable-executable-stripping --enable-library-stripping --enable-library-profiling --disable-profiling --enable-static --enable-shared --disable-coverage --enable-library-for-ghci --datadir=/nix/store/rrj0j6jvql6ylhdf4dcc09003xw3l86w-double-conversion-lib-double-conversion-2.0.4.2-data/share/ghc-9.4.5 --profiling-detail=default --enable-split-sections 
Configuring library for double-conversion-2.0.4.2..
Error: Setup: Encountered missing or private dependencies:
system-cxx-std-lib ==1.0

I believe system-cxx-std-lib is some kind of built-in library that comes with GHC.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions