Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkgsStatic.cachix fails to build #188401

Open
flokli opened this issue Aug 26, 2022 · 13 comments · Fixed by #225764
Open

pkgsStatic.cachix fails to build #188401

flokli opened this issue Aug 26, 2022 · 13 comments · Fixed by #225764
Assignees
Labels
0.kind: bug Something is broken 2.status: wait-for-upstream Waiting for upstream fix (or their other action). 6.topic: haskell 6.topic: static

Comments

@flokli
Copy link
Contributor

flokli commented Aug 26, 2022

I'd like to have a static build of cachix.

When invoking nix-build -A pkgsStatic.cachix from nixpkgs, I get the following error:

❯ nix-build nix -A pkgsStatic.cachix
these 2 derivations will be built:
  /nix/store/2k9bmprkqzbkygdfi6qcc7924dq94kc4-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1.drv
  /nix/store/d0yvrq9g8vd6sg4s9zjp1jjrm2w1qrxq-cachix-static-x86_64-unknown-linux-musl-0.8.1.drv
building '/nix/store/2k9bmprkqzbkygdfi6qcc7924dq94kc4-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1.drv' on 'ssh://…'...
copying 0 paths...
setupCompilerEnvironmentPhase
Build with /nix/store/l46si7n0yfr21nghcs4x8is593cd8xqq-x86_64-unknown-linux-musl-ghc-native-bignum-9.0.2.
unpacking sources
unpacking source archive /nix/store/4a0axl7kjg1388vq88y6hyjxc0zjynhq-hercules-ci-cnix-store-0.3.3.1.tar.gz
source root is hercules-ci-cnix-store-0.3.3.1
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file hercules-ci-cnix-store-0.3.3.1/test/TestMain.hs
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/tmp.2wGIjbkrma/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts
[1 of 1] Compiling Main             ( Setup.hs, /build/tmp.2wGIjbkrma/Main.o )
Linking Setup ...
updateAutotoolsGnuConfigScriptsPhase
configuring
configureFlags: --verbose --prefix=/nix/store/00ja03z3m5ipn8rljy5lqpaxckykndmv-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --with-gcc=x86_64-unknown-linux-musl-gcc --package-db=/build/tmp.2wGIjbkrma/package.conf.d --ghc-options=-j16 +RTS -A64M -RTS --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --disable-shared --disable-coverage --enable-static --disable-executable-dynamic --disable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --configure-option=--host=x86_64-unknown-linux-musl --with-ghc=x86_64-unknown-linux-musl-ghc --with-ghc-pkg=x86_64-unknown-linux-musl-ghc-pkg --with-gcc=x86_64-unknown-linux-musl-cc --with-ld=x86_64-unknown-linux-musl-ld --with-ar=x86_64-unknown-linux-musl-ar --with-hsc2hs=x86_64-unknown-linux-musl-hsc2hs --with-strip=x86_64-unknown-linux-musl-strip --hsc2hs-option=--cross-compile --with-pkg-config=x86_64-unknown-linux-musl-pkg-config --enable-static --disable-shared --disable-shared --extra-lib-dirs=/nix/store/b8mgipf3613sr307bzp2fhiq7591zvqj-ncurses-static-x86_64-unknown-linux-musl-6.3-p20220507/lib --extra-lib-dirs=/nix/store/fm2bkk63jl78kk97a87mizq5qf3z8pkn-libffi-static-x86_64-unknown-linux-musl-3.4.2/lib --extra-include-dirs=/nix/store/73s0z8vk5vdfa47m8bqvw1xyknzx48m7-musl-iconv-1.2.3/include --extra-include-dirs=/nix/store/0nnnrfjqfj53hq4fxsrby5l6zshvdl98-boost-static-x86_64-unknown-linux-musl-1.79.0-dev/include --extra-lib-dirs=/nix/store/0nnnrfjqfj53hq4fxsrby5l6zshvdl98-boost-static-x86_64-unknown-linux-musl-1.79.0-dev/lib --extra-include-dirs=/nix/store/8qkn1ai7535hxwx94wkg8vk7k34w8m4j-expat-static-x86_64-unknown-linux-musl-2.4.8-dev/include --extra-lib-dirs=/nix/store/8qkn1ai7535hxwx94wkg8vk7k34w8m4j-expat-static-x86_64-unknown-linux-musl-2.4.8-dev/lib --extra-lib-dirs=/nix/store/waa8dc7bhbzr7zj4vp0lhgd9krwarcsi-expat-static-x86_64-unknown-linux-musl-2.4.8/lib --extra-include-dirs=/nix/store/4mlbmb7w4iwwp369yb9dhqmx3j6nyal3-zlib-static-x86_64-unknown-linux-musl-1.2.12-dev/include --extra-lib-dirs=/nix/store/4mlbmb7w4iwwp369yb9dhqmx3j6nyal3-zlib-static-x86_64-unknown-linux-musl-1.2.12-dev/lib --extra-lib-dirs=/nix/store/ycbx7zba0wns94m1q2467hqh5nnb8ikd-zlib-static-x86_64-unknown-linux-musl-1.2.12/lib --extra-include-dirs=/nix/store/idsyn5ndvkk6075qpw1sspw8rl8a3v8z-bzip2-static-x86_64-unknown-linux-musl-1.0.8-dev/include --extra-lib-dirs=/nix/store/idsyn5ndvkk6075qpw1sspw8rl8a3v8z-bzip2-static-x86_64-unknown-linux-musl-1.0.8-dev/lib --extra-lib-dirs=/nix/store/9az69d8d9c3pkil403kzvsr3czqidfq8-bzip2-static-x86_64-unknown-linux-musl-1.0.8/lib --extra-include-dirs=/nix/store/73s0z8vk5vdfa47m8bqvw1xyknzx48m7-musl-iconv-1.2.3/include --extra-lib-dirs=/nix/store/84kxvsq475v4gpm1fy88kwzjc86ywnva-boost-static-x86_64-unknown-linux-musl-1.79.0/lib --extra-include-dirs=/nix/store/f32sd4ja5rbdiqm3vsl24wl6gl6n415w-nix-static-x86_64-unknown-linux-musl-2.9.2-dev/include --extra-lib-dirs=/nix/store/f32sd4ja5rbdiqm3vsl24wl6gl6n415w-nix-static-x86_64-unknown-linux-musl-2.9.2-dev/lib --extra-include-dirs=/nix/store/jcdldj7vkqzdaz62hr5a998mdh6bq4ai-boehm-gc-static-x86_64-unknown-linux-musl-8.0.6-dev/include --extra-lib-dirs=/nix/store/jcdldj7vkqzdaz62hr5a998mdh6bq4ai-boehm-gc-static-x86_64-unknown-linux-musl-8.0.6-dev/lib --extra-lib-dirs=/nix/store/4giyqk964wzwj12aw0j1b90vl9z2i4d5-boehm-gc-static-x86_64-unknown-linux-musl-8.0.6/lib --extra-include-dirs=/nix/store/7ml90glhfbbclzx8hp4ny0wamlwc0a2k-nlohmann_json-static-x86_64-unknown-linux-musl-3.10.5/include --extra-lib-dirs=/nix/store/7ml90glhfbbclzx8hp4ny0wamlwc0a2k-nlohmann_json-static-x86_64-unknown-linux-musl-3.10.5/lib --extra-include-dirs=/nix/store/3hmjqvpfsskl2dyxzmxy0lxamfdm213b-brotli-static-x86_64-unknown-linux-musl-1.0.9-dev/include --extra-lib-dirs=/nix/store/3hmjqvpfsskl2dyxzmxy0lxamfdm213b-brotli-static-x86_64-unknown-linux-musl-1.0.9-dev/lib --extra-lib-dirs=/nix/store/mv5272apnqk6qk0anwmgc88pl0ffcmwz-brotli-static-x86_64-unknown-linux-musl-1.0.9-lib/lib --extra-include-dirs=/nix/store/0b6ixqq06zwa9jk5jx3xbxzg3sfx3ki3-curl-static-x86_64-unknown-linux-musl-7.84.0-dev/include --extra-lib-dirs=/nix/store/0b6ixqq06zwa9jk5jx3xbxzg3sfx3ki3-curl-static-x86_64-unknown-linux-musl-7.84.0-dev/lib --extra-include-dirs=/nix/store/89yixsb3j16jggk6mjpkqg2640ag0hnb-nghttp2-static-x86_64-unknown-linux-musl-1.47.0-dev/include --extra-lib-dirs=/nix/store/89yixsb3j16jggk6mjpkqg2640ag0hnb-nghttp2-static-x86_64-unknown-linux-musl-1.47.0-dev/lib --extra-lib-dirs=/nix/store/rqwggb7p70nn723mwvqyj6zv2jn7a7sn-nghttp2-static-x86_64-unknown-linux-musl-1.47.0-lib/lib --extra-include-dirs=/nix/store/ssiv22c0vnpfy17qxvrmachxxynwd1qa-libidn2-static-x86_64-unknown-linux-musl-2.3.2-dev/include --extra-lib-dirs=/nix/store/ssiv22c0vnpfy17qxvrmachxxynwd1qa-libidn2-static-x86_64-unknown-linux-musl-2.3.2-dev/lib --extra-include-dirs=/nix/store/rylidxbvy3s1xbcy8pvap7d0jiffq6wy-libunistring-static-x86_64-unknown-linux-musl-1.0-dev/include --extra-lib-dirs=/nix/store/df2m6vq850xqdqwfqdvxi443alp41riq-libunistring-static-x86_64-unknown-linux-musl-1.0/lib --extra-lib-dirs=/nix/store/svd8vbc9dx79r2l5zpbnfa3k44qd2gh7-libidn2-static-x86_64-unknown-linux-musl-2.3.2/lib --extra-include-dirs=/nix/store/zi26kp77y1pcq90vnv4h9an5rk97rkin-openssl-static-x86_64-unknown-linux-musl-1.1.1q-dev/include --extra-lib-dirs=/nix/store/zi26kp77y1pcq90vnv4h9an5rk97rkin-openssl-static-x86_64-unknown-linux-musl-1.1.1q-dev/lib --extra-lib-dirs=/nix/store/z87zlvfhknjx6r97bl7v2v8cp6d12v52-openssl-static-x86_64-unknown-linux-musl-1.1.1q/lib --extra-include-dirs=/nix/store/qrspq1dqb965gmx3ffijky7clj9bvybd-libssh2-static-x86_64-unknown-linux-musl-1.10.0-dev/include --extra-lib-dirs=/nix/store/qrspq1dqb965gmx3ffijky7clj9bvybd-libssh2-static-x86_64-unknown-linux-musl-1.10.0-dev/lib --extra-lib-dirs=/nix/store/b0kb524lzd91h8l2fp4bvf199il8lzk4-libssh2-static-x86_64-unknown-linux-musl-1.10.0/lib --extra-include-dirs=/nix/store/p8zx8gymhrpziqazh90r9ngpdbfifxx4-zstd-static-x86_64-unknown-linux-musl-1.5.2-dev/include --extra-lib-dirs=/nix/store/p8zx8gymhrpziqazh90r9ngpdbfifxx4-zstd-static-x86_64-unknown-linux-musl-1.5.2-dev/lib --extra-lib-dirs=/nix/store/xx133g4qfb73snzcq9dhy6kb5w83bhpn-zstd-static-x86_64-unknown-linux-musl-1.5.2/lib --extra-lib-dirs=/nix/store/2rncvfij032jw4vlia392qf6ksk56rrp-curl-static-x86_64-unknown-linux-musl-7.84.0/lib --extra-include-dirs=/nix/store/sw7ay5k3pb6ydvqwsx2j1bmp9zfqmmih-editline-static-x86_64-unknown-linux-musl-1.17.1-dev/include --extra-lib-dirs=/nix/store/sw7ay5k3pb6ydvqwsx2j1bmp9zfqmmih-editline-static-x86_64-unknown-linux-musl-1.17.1-dev/lib --extra-lib-dirs=/nix/store/6mcp5qciv9m1c8k3fff62yjmgxmsa8ff-editline-static-x86_64-unknown-linux-musl-1.17.1/lib --extra-include-dirs=/nix/store/qv1kcl7dkgf7js5lgflfpqs872aj603n-libsodium-static-x86_64-unknown-linux-musl-1.0.18-dev/include --extra-lib-dirs=/nix/store/qv1kcl7dkgf7js5lgflfpqs872aj603n-libsodium-static-x86_64-unknown-linux-musl-1.0.18-dev/lib --extra-lib-dirs=/nix/store/gr0jjjysdjwi2yw9v7bgsvcclywgwjl5-libsodium-static-x86_64-unknown-linux-musl-1.0.18/lib --extra-include-dirs=/nix/store/shifw3vclxrv81awd71cyg2mxr0zgp6i-sqlite-static-x86_64-unknown-linux-musl-3.39.2-dev/include --extra-lib-dirs=/nix/store/shifw3vclxrv81awd71cyg2mxr0zgp6i-sqlite-static-x86_64-unknown-linux-musl-3.39.2-dev/lib --extra-lib-dirs=/nix/store/3f01swg0rd5k81d7yg99b3dwh3l0bv45-sqlite-static-x86_64-unknown-linux-musl-3.39.2/lib --extra-include-dirs=/nix/store/r8009cnlfv6vc23k0innjy94kbrq7xml-xz-static-x86_64-unknown-linux-musl-5.2.5-dev/include --extra-lib-dirs=/nix/store/r8009cnlfv6vc23k0innjy94kbrq7xml-xz-static-x86_64-unknown-linux-musl-5.2.5-dev/lib --extra-lib-dirs=/nix/store/gd0wwsy60c0rd5g6xmps3yahximamqh2-xz-static-x86_64-unknown-linux-musl-5.2.5/lib --extra-include-dirs=/nix/store/6zvjlwdfmiflq6ddawpg332wz35206kd-gtest-static-x86_64-unknown-linux-musl-1.12.1-dev/include --extra-lib-dirs=/nix/store/6zvjlwdfmiflq6ddawpg332wz35206kd-gtest-static-x86_64-unknown-linux-musl-1.12.1-dev/lib --extra-lib-dirs=/nix/store/z8j1hm95a561d9v9ccm688armdh6wq9k-gtest-static-x86_64-unknown-linux-musl-1.12.1/lib --extra-include-dirs=/nix/store/g19kssqw7272v4hg49yhdzfvxly1f722-libarchive-static-x86_64-unknown-linux-musl-3.6.1-dev/include --extra-lib-dirs=/nix/store/g19kssqw7272v4hg49yhdzfvxly1f722-libarchive-static-x86_64-unknown-linux-musl-3.6.1-dev/lib --extra-include-dirs=/nix/store/kpkr996i91ajv3hclwbnhz4bbjwfb56d-attr-static-x86_64-unknown-linux-musl-2.5.1-dev/include --extra-lib-dirs=/nix/store/kpkr996i91ajv3hclwbnhz4bbjwfb56d-attr-static-x86_64-unknown-linux-musl-2.5.1-dev/lib --extra-lib-dirs=/nix/store/qdvndg1pydb4sx0sp0pc67mchznh2dz9-attr-static-x86_64-unknown-linux-musl-2.5.1/lib --extra-include-dirs=/nix/store/qcxqm0n0blkmfagaac67baj7rjkzgkqa-acl-static-x86_64-unknown-linux-musl-2.3.1-dev/include --extra-lib-dirs=/nix/store/qcxqm0n0blkmfagaac67baj7rjkzgkqa-acl-static-x86_64-unknown-linux-musl-2.3.1-dev/lib --extra-lib-dirs=/nix/store/3blw27fdr6hzb2n8m1vn99l91w7ndhz2-acl-static-x86_64-unknown-linux-musl-2.3.1/lib --extra-include-dirs=/nix/store/056mxkkrc13g4nzyfx7irsvnr7z9m2ax-lzo-static-x86_64-unknown-linux-musl-2.10/include --extra-lib-dirs=/nix/store/056mxkkrc13g4nzyfx7irsvnr7z9m2ax-lzo-static-x86_64-unknown-linux-musl-2.10/lib --extra-lib-dirs=/nix/store/8jflcc69b2viax35yx4yi6bylw3ap4cj-sharutils-static-x86_64-unknown-linux-musl-4.15.2/lib --extra-include-dirs=/nix/store/p714xzqg7g0i5kswkdjwashjwy1rgdbn-gmp-with-cxx-static-x86_64-unknown-linux-musl-6.2.1-dev/include --extra-lib-dirs=/nix/store/p714xzqg7g0i5kswkdjwashjwy1rgdbn-gmp-with-cxx-static-x86_64-unknown-linux-musl-6.2.1-dev/lib --extra-lib-dirs=/nix/store/azhwpaa9f2kigz0349xjldbicv42rsvq-gmp-with-cxx-static-x86_64-unknown-linux-musl-6.2.1/lib --extra-include-dirs=/nix/store/z3yj9k1vxqacxb68m4by3szwkfp5yb1v-gettext-static-x86_64-unknown-linux-musl-0.21/include --extra-lib-dirs=/nix/store/z3yj9k1vxqacxb68m4by3szwkfp5yb1v-gettext-static-x86_64-unknown-linux-musl-0.21/lib --extra-include-dirs=/nix/store/zcdyixk8c0hna9lb82dpmadcs8d5388s-e2fsprogs-static-x86_64-unknown-linux-musl-1.46.5-dev/include --extra-lib-dirs=/nix/store/zcdyixk8c0hna9lb82dpmadcs8d5388s-e2fsprogs-static-x86_64-unknown-linux-musl-1.46.5-dev/lib --extra-include-dirs=/nix/store/nzfrd05pgkjqmc2nai51yv674asigff8-util-linux-minimal-static-x86_64-unknown-linux-musl-2.38-dev/include --extra-lib-dirs=/nix/store/nzfrd05pgkjqmc2nai51yv674asigff8-util-linux-minimal-static-x86_64-unknown-linux-musl-2.38-dev/lib --extra-include-dirs=/nix/store/h3m8zm7ki4ahizjf92nl7lp2bkc0sgfg-linux-pam-static-x86_64-unknown-linux-musl-1.5.2/include --extra-lib-dirs=/nix/store/h3m8zm7ki4ahizjf92nl7lp2bkc0sgfg-linux-pam-static-x86_64-unknown-linux-musl-1.5.2/lib --extra-include-dirs=/nix/store/is75nyzrmlvj1pmn93gr82qhr8wc7a03-cracklib-static-x86_64-unknown-linux-musl-2.9.7/include --extra-lib-dirs=/nix/store/is75nyzrmlvj1pmn93gr82qhr8wc7a03-cracklib-static-x86_64-unknown-linux-musl-2.9.7/lib --extra-include-dirs=/nix/store/8z5c8lw6b5cvbj5ql3k1apngn6lnv68n-db-static-x86_64-unknown-linux-musl-4.8.30-dev/include --extra-lib-dirs=/nix/store/y2hcl11vka1an7cc54y1sh5dg9fpd725-db-static-x86_64-unknown-linux-musl-4.8.30/lib --extra-include-dirs=/nix/store/7ixpf2953njyxls83wqhx5kdf39l9zm1-audit-static-x86_64-unknown-linux-musl-2.8.5-dev/include --extra-lib-dirs=/nix/store/7ixpf2953njyxls83wqhx5kdf39l9zm1-audit-static-x86_64-unknown-linux-musl-2.8.5-dev/lib --extra-lib-dirs=/nix/store/pl5l8l2prfl2gjxnbmbsx24cm3jgqr9v-audit-static-x86_64-unknown-linux-musl-2.8.5/lib --extra-include-dirs=/nix/store/n7w7qxji8j5z6bl7pbjg8hbywf2hk8s9-libcap-ng-static-x86_64-unknown-linux-musl-0.8.3/include --extra-lib-dirs=/nix/store/n7w7qxji8j5z6bl7pbjg8hbywf2hk8s9-libcap-ng-static-x86_64-unknown-linux-musl-0.8.3/lib --extra-lib-dirs=/nix/store/66zxwnna0n1ywabj3ixxkayf31m9zqx3-util-linux-minimal-static-x86_64-unknown-linux-musl-2.38-lib/lib --extra-include-dirs=/nix/store/j07pkqx27nx9rgmmyyds3gp453hcy9ys-fuse-static-x86_64-unknown-linux-musl-2.9.9/include --extra-lib-dirs=/nix/store/j07pkqx27nx9rgmmyyds3gp453hcy9ys-fuse-static-x86_64-unknown-linux-musl-2.9.9/lib --extra-lib-dirs=/nix/store/izw715hxpiniwwwbr2z3qf1851ja6gpd-e2fsprogs-static-x86_64-unknown-linux-musl-1.46.5/lib --extra-include-dirs=/nix/store/gyihfgb2zvicgb3snniylck727wnzgl6-libxml2-static-x86_64-unknown-linux-musl-2.9.14-dev/include --extra-lib-dirs=/nix/store/gyihfgb2zvicgb3snniylck727wnzgl6-libxml2-static-x86_64-unknown-linux-musl-2.9.14-dev/lib --extra-lib-dirs=/nix/store/cz1pa19hmnr0z2gmmsn6c8vfsfrajw4l-libxml2-static-x86_64-unknown-linux-musl-2.9.14/lib --extra-lib-dirs=/nix/store/004rjapl34a0q3wxa66bf32gbj2sw8l1-libarchive-static-x86_64-unknown-linux-musl-3.6.1-lib/lib --extra-include-dirs=/nix/store/2vqkisg28mhjrpif0rg0ndkmv7y4i7z0-lowdown-static-x86_64-unknown-linux-musl-1.0.0-dev/include --extra-lib-dirs=/nix/store/2vqkisg28mhjrpif0rg0ndkmv7y4i7z0-lowdown-static-x86_64-unknown-linux-musl-1.0.0-dev/lib --extra-lib-dirs=/nix/store/i6w5ppnh0rpb1r67rm4dfffsy11q4ypl-lowdown-static-x86_64-unknown-linux-musl-1.0.0-lib/lib --extra-include-dirs=/nix/store/ymscynx4rzvzc4i65dpw36pkr4fbs055-libcpuid-static-x86_64-unknown-linux-musl-0.5.1/include --extra-lib-dirs=/nix/store/ymscynx4rzvzc4i65dpw36pkr4fbs055-libcpuid-static-x86_64-unknown-linux-musl-0.5.1/lib --extra-include-dirs=/nix/store/g4v9dj3bcka843bfric66gcq4x99mma0-libseccomp-static-x86_64-unknown-linux-musl-2.5.4-dev/include --extra-lib-dirs=/nix/store/g4v9dj3bcka843bfric66gcq4x99mma0-libseccomp-static-x86_64-unknown-linux-musl-2.5.4-dev/lib --extra-lib-dirs=/nix/store/d7h4p7iasi6b2p8jmr40y1xpxngp3ghh-libseccomp-static-x86_64-unknown-linux-musl-2.5.4-lib/lib --extra-lib-dirs=/nix/store/3vfps1c7m9n6y9cwwdxmgf1n57vb2y3w-nix-static-x86_64-unknown-linux-musl-2.9.2/lib
Using Parsec parser
pkg-config: readCreateProcess: posix_spawnp: does not exist (No such file or directory)
error: build of '/nix/store/2k9bmprkqzbkygdfi6qcc7924dq94kc4-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1.drv' on 'ssh://root@box.flokli.de' failed: builder for '/nix/store/2k9bmprkqzbkygdfi6qcc7924dq94kc4-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1.drv' failed with exit code 1
error: builder for '/nix/store/2k9bmprkqzbkygdfi6qcc7924dq94kc4-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1.drv' failed with exit code 1;
       last 10 log lines:
       > patching sources
       > compileBuildDriverPhase
       > setupCompileFlags: -package-db=/build/tmp.2wGIjbkrma/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts
       > [1 of 1] Compiling Main             ( Setup.hs, /build/tmp.2wGIjbkrma/Main.o )
       > Linking Setup ...
       > updateAutotoolsGnuConfigScriptsPhase
       > configuring
       > configureFlags: --verbose --prefix=/nix/store/00ja03z3m5ipn8rljy5lqpaxckykndmv-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --with-gcc=x86_64-unknown-linux-musl-gcc --package-db=/build/tmp.2wGIjbkrma/package.conf.d --ghc-options=-j16 +RTS -A64M -RTS --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --disable-shared --disable-coverage --enable-static --disable-executable-dynamic --disable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --configure-option=--host=x86_64-unknown-linux-musl --with-ghc=x86_64-unknown-linux-musl-ghc --with-ghc-pkg=x86_64-unknown-linux-musl-ghc-pkg --with-gcc=x86_64-unknown-linux-musl-cc --with-ld=x86_64-unknown-linux-musl-ld --with-ar=x86_64-unknown-linux-musl-ar --with-hsc2hs=x86_64-unknown-linux-musl-hsc2hs --with-strip=x86_64-unknown-linux-musl-strip --hsc2hs-option=--cross-compile --with-pkg-config=x86_64-unknown-linux-musl-pkg-config --enable-static --disable-shared --disable-shared --extra-lib-dirs=/nix/store/b8mgipf3613sr307bzp2fhiq7591zvqj-ncurses-static-x86_64-unknown-linux-musl-6.3-p20220507/lib --extra-lib-dirs=/nix/store/fm2bkk63jl78kk97a87mizq5qf3z8pkn-libffi-static-x86_64-unknown-linux-musl-3.4.2/lib --extra-include-dirs=/nix/store/73s0z8vk5vdfa47m8bqvw1xyknzx48m7-musl-iconv-1.2.3/include --extra-include-dirs=/nix/store/0nnnrfjqfj53hq4fxsrby5l6zshvdl98-boost-static-x86_64-unknown-linux-musl-1.79.0-dev/include --extra-lib-dirs=/nix/store/0nnnrfjqfj53hq4fxsrby5l6zshvdl98-boost-static-x86_64-unknown-linux-musl-1.79.0-dev/lib --extra-include-dirs=/nix/store/8qkn1ai7535hxwx94wkg8vk7k34w8m4j-expat-static-x86_64-unknown-linux-musl-2.4.8-dev/include --extra-lib-dirs=/nix/store/8qkn1ai7535hxwx94wkg8vk7k34w8m4j-expat-static-x86_64-unknown-linux-musl-2.4.8-dev/lib --extra-lib-dirs=/nix/store/waa8dc7bhbzr7zj4vp0lhgd9krwarcsi-expat-static-x86_64-unknown-linux-musl-2.4.8/lib --extra-include-dirs=/nix/store/4mlbmb7w4iwwp369yb9dhqmx3j6nyal3-zlib-static-x86_64-unknown-linux-musl-1.2.12-dev/include --extra-lib-dirs=/nix/store/4mlbmb7w4iwwp369yb9dhqmx3j6nyal3-zlib-static-x86_64-unknown-linux-musl-1.2.12-dev/lib --extra-lib-dirs=/nix/store/ycbx7zba0wns94m1q2467hqh5nnb8ikd-zlib-static-x86_64-unknown-linux-musl-1.2.12/lib --extra-include-dirs=/nix/store/idsyn5ndvkk6075qpw1sspw8rl8a3v8z-bzip2-static-x86_64-unknown-linux-musl-1.0.8-dev/include --extra-lib-dirs=/nix/store/idsyn5ndvkk6075qpw1sspw8rl8a3v8z-bzip2-static-x86_64-unknown-linux-musl-1.0.8-dev/lib --extra-lib-dirs=/nix/store/9az69d8d9c3pkil403kzvsr3czqidfq8-bzip2-static-x86_64-unknown-linux-musl-1.0.8/lib --extra-include-dirs=/nix/store/73s0z8vk5vdfa47m8bqvw1xyknzx48m7-musl-iconv-1.2.3/include --extra-lib-dirs=/nix/store/84kxvsq475v4gpm1fy88kwzjc86ywnva-boost-static-x86_64-unknown-linux-musl-1.79.0/lib --extra-include-dirs=/nix/store/f32sd4ja5rbdiqm3vsl24wl6gl6n415w-nix-static-x86_64-unknown-linux-musl-2.9.2-dev/include --extra-lib-dirs=/nix/store/f32sd4ja5rbdiqm3vsl24wl6gl6n415w-nix-static-x86_64-unknown-linux-musl-2.9.2-dev/lib --extra-include-dirs=/nix/store/jcdldj7vkqzdaz62hr5a998mdh6bq4ai-boehm-gc-static-x86_64-unknown-linux-musl-8.0.6-dev/include --extra-lib-dirs=/nix/store/jcdldj7vkqzdaz62hr5a998mdh6bq4ai-boehm-gc-static-x86_64-unknown-linux-musl-8.0.6-dev/lib --extra-lib-dirs=/nix/store/4giyqk964wzwj12aw0j1b90vl9z2i4d5-boehm-gc-static-x86_64-unknown-linux-musl-8.0.6/lib --extra-include-dirs=/nix/store/7ml90glhfbbclzx8hp4ny0wamlwc0a2k-nlohmann_json-static-x86_64-unknown-linux-musl-3.10.5/include --extra-lib-dirs=/nix/store/7ml90glhfbbclzx8hp4ny0wamlwc0a2k-nlohmann_json-static-x86_64-unknown-linux-musl-3.10.5/lib --extra-include-dirs=/nix/store/3hmjqvpfsskl2dyxzmxy0lxamfdm213b-brotli-static-x86_64-unknown-linux-musl-1.0.9-dev/include --extra-lib-dirs=/nix/store/3hmjqvpfsskl2dyxzmxy0lxamfdm213b-brotli-static-x86_64-unknown-linux-musl-1.0.9-dev/lib --extra-lib-dirs=/nix/store/mv5272apnqk6qk0anwmgc88pl0ffcmwz-brotli-static-x86_64-unknown-linux-musl-1.0.9-lib/lib --extra-include-dirs=/nix/store/0b6ixqq06zwa9jk5jx3xbxzg3sfx3ki3-curl-static-x86_64-unknown-linux-musl-7.84.0-dev/include --extra-lib-dirs=/nix/store/0b6ixqq06zwa9jk5jx3xbxzg3sfx3ki3-curl-static-x86_64-unknown-linux-musl-7.84.0-dev/lib --extra-include-dirs=/nix/store/89yixsb3j16jggk6mjpkqg2640ag0hnb-nghttp2-static-x86_64-unknown-linux-musl-1.47.0-dev/include --extra-lib-dirs=/nix/store/89yixsb3j16jggk6mjpkqg2640ag0hnb-nghttp2-static-x86_64-unknown-linux-musl-1.47.0-dev/lib --extra-lib-dirs=/nix/store/rqwggb7p70nn723mwvqyj6zv2jn7a7sn-nghttp2-static-x86_64-unknown-linux-musl-1.47.0-lib/lib --extra-include-dirs=/nix/store/ssiv22c0vnpfy17qxvrmachxxynwd1qa-libidn2-static-x86_64-unknown-linux-musl-2.3.2-dev/include --extra-lib-dirs=/nix/store/ssiv22c0vnpfy17qxvrmachxxynwd1qa-libidn2-static-x86_64-unknown-linux-musl-2.3.2-dev/lib --extra-include-dirs=/nix/store/rylidxbvy3s1xbcy8pvap7d0jiffq6wy-libunistring-static-x86_64-unknown-linux-musl-1.0-dev/include --extra-lib-dirs=/nix/store/df2m6vq850xqdqwfqdvxi443alp41riq-libunistring-static-x86_64-unknown-linux-musl-1.0/lib --extra-lib-dirs=/nix/store/svd8vbc9dx79r2l5zpbnfa3k44qd2gh7-libidn2-static-x86_64-unknown-linux-musl-2.3.2/lib --extra-include-dirs=/nix/store/zi26kp77y1pcq90vnv4h9an5rk97rkin-openssl-static-x86_64-unknown-linux-musl-1.1.1q-dev/include --extra-lib-dirs=/nix/store/zi26kp77y1pcq90vnv4h9an5rk97rkin-openssl-static-x86_64-unknown-linux-musl-1.1.1q-dev/lib --extra-lib-dirs=/nix/store/z87zlvfhknjx6r97bl7v2v8cp6d12v52-openssl-static-x86_64-unknown-linux-musl-1.1.1q/lib --extra-include-dirs=/nix/store/qrspq1dqb965gmx3ffijky7clj9bvybd-libssh2-static-x86_64-unknown-linux-musl-1.10.0-dev/include --extra-lib-dirs=/nix/store/qrspq1dqb965gmx3ffijky7clj9bvybd-libssh2-static-x86_64-unknown-linux-musl-1.10.0-dev/lib --extra-lib-dirs=/nix/store/b0kb524lzd91h8l2fp4bvf199il8lzk4-libssh2-static-x86_64-unknown-linux-musl-1.10.0/lib --extra-include-dirs=/nix/store/p8zx8gymhrpziqazh90r9ngpdbfifxx4-zstd-static-x86_64-unknown-linux-musl-1.5.2-dev/include --extra-lib-dirs=/nix/store/p8zx8gymhrpziqazh90r9ngpdbfifxx4-zstd-static-x86_64-unknown-linux-musl-1.5.2-dev/lib --extra-lib-dirs=/nix/store/xx133g4qfb73snzcq9dhy6kb5w83bhpn-zstd-static-x86_64-unknown-linux-musl-1.5.2/lib --extra-lib-dirs=/nix/store/2rncvfij032jw4vlia392qf6ksk56rrp-curl-static-x86_64-unknown-linux-musl-7.84.0/lib --extra-include-dirs=/nix/store/sw7ay5k3pb6ydvqwsx2j1bmp9zfqmmih-editline-static-x86_64-unknown-linux-musl-1.17.1-dev/include --extra-lib-dirs=/nix/store/sw7ay5k3pb6ydvqwsx2j1bmp9zfqmmih-editline-static-x86_64-unknown-linux-musl-1.17.1-dev/lib --extra-lib-dirs=/nix/store/6mcp5qciv9m1c8k3fff62yjmgxmsa8ff-editline-static-x86_64-unknown-linux-musl-1.17.1/lib --extra-include-dirs=/nix/store/qv1kcl7dkgf7js5lgflfpqs872aj603n-libsodium-static-x86_64-unknown-linux-musl-1.0.18-dev/include --extra-lib-dirs=/nix/store/qv1kcl7dkgf7js5lgflfpqs872aj603n-libsodium-static-x86_64-unknown-linux-musl-1.0.18-dev/lib --extra-lib-dirs=/nix/store/gr0jjjysdjwi2yw9v7bgsvcclywgwjl5-libsodium-static-x86_64-unknown-linux-musl-1.0.18/lib --extra-include-dirs=/nix/store/shifw3vclxrv81awd71cyg2mxr0zgp6i-sqlite-static-x86_64-unknown-linux-musl-3.39.2-dev/include --extra-lib-dirs=/nix/store/shifw3vclxrv81awd71cyg2mxr0zgp6i-sqlite-static-x86_64-unknown-linux-musl-3.39.2-dev/lib --extra-lib-dirs=/nix/store/3f01swg0rd5k81d7yg99b3dwh3l0bv45-sqlite-static-x86_64-unknown-linux-musl-3.39.2/lib --extra-include-dirs=/nix/store/r8009cnlfv6vc23k0innjy94kbrq7xml-xz-static-x86_64-unknown-linux-musl-5.2.5-dev/include --extra-lib-dirs=/nix/store/r8009cnlfv6vc23k0innjy94kbrq7xml-xz-static-x86_64-unknown-linux-musl-5.2.5-dev/lib --extra-lib-dirs=/nix/store/gd0wwsy60c0rd5g6xmps3yahximamqh2-xz-static-x86_64-unknown-linux-musl-5.2.5/lib --extra-include-dirs=/nix/store/6zvjlwdfmiflq6ddawpg332wz35206kd-gtest-static-x86_64-unknown-linux-musl-1.12.1-dev/include --extra-lib-dirs=/nix/store/6zvjlwdfmiflq6ddawpg332wz35206kd-gtest-static-x86_64-unknown-linux-musl-1.12.1-dev/lib --extra-lib-dirs=/nix/store/z8j1hm95a561d9v9ccm688armdh6wq9k-gtest-static-x86_64-unknown-linux-musl-1.12.1/lib --extra-include-dirs=/nix/store/g19kssqw7272v4hg49yhdzfvxly1f722-libarchive-static-x86_64-unknown-linux-musl-3.6.1-dev/include --extra-lib-dirs=/nix/store/g19kssqw7272v4hg49yhdzfvxly1f722-libarchive-static-x86_64-unknown-linux-musl-3.6.1-dev/lib --extra-include-dirs=/nix/store/kpkr996i91ajv3hclwbnhz4bbjwfb56d-attr-static-x86_64-unknown-linux-musl-2.5.1-dev/include --extra-lib-dirs=/nix/store/kpkr996i91ajv3hclwbnhz4bbjwfb56d-attr-static-x86_64-unknown-linux-musl-2.5.1-dev/lib --extra-lib-dirs=/nix/store/qdvndg1pydb4sx0sp0pc67mchznh2dz9-attr-static-x86_64-unknown-linux-musl-2.5.1/lib --extra-include-dirs=/nix/store/qcxqm0n0blkmfagaac67baj7rjkzgkqa-acl-static-x86_64-unknown-linux-musl-2.3.1-dev/include --extra-lib-dirs=/nix/store/qcxqm0n0blkmfagaac67baj7rjkzgkqa-acl-static-x86_64-unknown-linux-musl-2.3.1-dev/lib --extra-lib-dirs=/nix/store/3blw27fdr6hzb2n8m1vn99l91w7ndhz2-acl-static-x86_64-unknown-linux-musl-2.3.1/lib --extra-include-dirs=/nix/store/056mxkkrc13g4nzyfx7irsvnr7z9m2ax-lzo-static-x86_64-unknown-linux-musl-2.10/include --extra-lib-dirs=/nix/store/056mxkkrc13g4nzyfx7irsvnr7z9m2ax-lzo-static-x86_64-unknown-linux-musl-2.10/lib --extra-lib-dirs=/nix/store/8jflcc69b2viax35yx4yi6bylw3ap4cj-sharutils-static-x86_64-unknown-linux-musl-4.15.2/lib --extra-include-dirs=/nix/store/p714xzqg7g0i5kswkdjwashjwy1rgdbn-gmp-with-cxx-static-x86_64-unknown-linux-musl-6.2.1-dev/include --extra-lib-dirs=/nix/store/p714xzqg7g0i5kswkdjwashjwy1rgdbn-gmp-with-cxx-static-x86_64-unknown-linux-musl-6.2.1-dev/lib --extra-lib-dirs=/nix/store/azhwpaa9f2kigz0349xjldbicv42rsvq-gmp-with-cxx-static-x86_64-unknown-linux-musl-6.2.1/lib --extra-include-dirs=/nix/store/z3yj9k1vxqacxb68m4by3szwkfp5yb1v-gettext-static-x86_64-unknown-linux-musl-0.21/include --extra-lib-dirs=/nix/store/z3yj9k1vxqacxb68m4by3szwkfp5yb1v-gettext-static-x86_64-unknown-linux-musl-0.21/lib --extra-include-dirs=/nix/store/zcdyixk8c0hna9lb82dpmadcs8d5388s-e2fsprogs-static-x86_64-unknown-linux-musl-1.46.5-dev/include --extra-lib-dirs=/nix/store/zcdyixk8c0hna9lb82dpmadcs8d5388s-e2fsprogs-static-x86_64-unknown-linux-musl-1.46.5-dev/lib --extra-include-dirs=/nix/store/nzfrd05pgkjqmc2nai51yv674asigff8-util-linux-minimal-static-x86_64-unknown-linux-musl-2.38-dev/include --extra-lib-dirs=/nix/store/nzfrd05pgkjqmc2nai51yv674asigff8-util-linux-minimal-static-x86_64-unknown-linux-musl-2.38-dev/lib --extra-include-dirs=/nix/store/h3m8zm7ki4ahizjf92nl7lp2bkc0sgfg-linux-pam-static-x86_64-unknown-linux-musl-1.5.2/include --extra-lib-dirs=/nix/store/h3m8zm7ki4ahizjf92nl7lp2bkc0sgfg-linux-pam-static-x86_64-unknown-linux-musl-1.5.2/lib --extra-include-dirs=/nix/store/is75nyzrmlvj1pmn93gr82qhr8wc7a03-cracklib-static-x86_64-unknown-linux-musl-2.9.7/include --extra-lib-dirs=/nix/store/is75nyzrmlvj1pmn93gr82qhr8wc7a03-cracklib-static-x86_64-unknown-linux-musl-2.9.7/lib --extra-include-dirs=/nix/store/8z5c8lw6b5cvbj5ql3k1apngn6lnv68n-db-static-x86_64-unknown-linux-musl-4.8.30-dev/include --extra-lib-dirs=/nix/store/y2hcl11vka1an7cc54y1sh5dg9fpd725-db-static-x86_64-unknown-linux-musl-4.8.30/lib --extra-include-dirs=/nix/store/7ixpf2953njyxls83wqhx5kdf39l9zm1-audit-static-x86_64-unknown-linux-musl-2.8.5-dev/include --extra-lib-dirs=/nix/store/7ixpf2953njyxls83wqhx5kdf39l9zm1-audit-static-x86_64-unknown-linux-musl-2.8.5-dev/lib --extra-lib-dirs=/nix/store/pl5l8l2prfl2gjxnbmbsx24cm3jgqr9v-audit-static-x86_64-unknown-linux-musl-2.8.5/lib --extra-include-dirs=/nix/store/n7w7qxji8j5z6bl7pbjg8hbywf2hk8s9-libcap-ng-static-x86_64-unknown-linux-musl-0.8.3/include --extra-lib-dirs=/nix/store/n7w7qxji8j5z6bl7pbjg8hbywf2hk8s9-libcap-ng-static-x86_64-unknown-linux-musl-0.8.3/lib --extra-lib-dirs=/nix/store/66zxwnna0n1ywabj3ixxkayf31m9zqx3-util-linux-minimal-static-x86_64-unknown-linux-musl-2.38-lib/lib --extra-include-dirs=/nix/store/j07pkqx27nx9rgmmyyds3gp453hcy9ys-fuse-static-x86_64-unknown-linux-musl-2.9.9/include --extra-lib-dirs=/nix/store/j07pkqx27nx9rgmmyyds3gp453hcy9ys-fuse-static-x86_64-unknown-linux-musl-2.9.9/lib --extra-lib-dirs=/nix/store/izw715hxpiniwwwbr2z3qf1851ja6gpd-e2fsprogs-static-x86_64-unknown-linux-musl-1.46.5/lib --extra-include-dirs=/nix/store/gyihfgb2zvicgb3snniylck727wnzgl6-libxml2-static-x86_64-unknown-linux-musl-2.9.14-dev/include --extra-lib-dirs=/nix/store/gyihfgb2zvicgb3snniylck727wnzgl6-libxml2-static-x86_64-unknown-linux-musl-2.9.14-dev/lib --extra-lib-dirs=/nix/store/cz1pa19hmnr0z2gmmsn6c8vfsfrajw4l-libxml2-static-x86_64-unknown-linux-musl-2.9.14/lib --extra-lib-dirs=/nix/store/004rjapl34a0q3wxa66bf32gbj2sw8l1-libarchive-static-x86_64-unknown-linux-musl-3.6.1-lib/lib --extra-include-dirs=/nix/store/2vqkisg28mhjrpif0rg0ndkmv7y4i7z0-lowdown-static-x86_64-unknown-linux-musl-1.0.0-dev/include --extra-lib-dirs=/nix/store/2vqkisg28mhjrpif0rg0ndkmv7y4i7z0-lowdown-static-x86_64-unknown-linux-musl-1.0.0-dev/lib --extra-lib-dirs=/nix/store/i6w5ppnh0rpb1r67rm4dfffsy11q4ypl-lowdown-static-x86_64-unknown-linux-musl-1.0.0-lib/lib --extra-include-dirs=/nix/store/ymscynx4rzvzc4i65dpw36pkr4fbs055-libcpuid-static-x86_64-unknown-linux-musl-0.5.1/include --extra-lib-dirs=/nix/store/ymscynx4rzvzc4i65dpw36pkr4fbs055-libcpuid-static-x86_64-unknown-linux-musl-0.5.1/lib --extra-include-dirs=/nix/store/g4v9dj3bcka843bfric66gcq4x99mma0-libseccomp-static-x86_64-unknown-linux-musl-2.5.4-dev/include --extra-lib-dirs=/nix/store/g4v9dj3bcka843bfric66gcq4x99mma0-libseccomp-static-x86_64-unknown-linux-musl-2.5.4-dev/lib --extra-lib-dirs=/nix/store/d7h4p7iasi6b2p8jmr40y1xpxngp3ghh-libseccomp-static-x86_64-unknown-linux-musl-2.5.4-lib/lib --extra-lib-dirs=/nix/store/3vfps1c7m9n6y9cwwdxmgf1n57vb2y3w-nix-static-x86_64-unknown-linux-musl-2.9.2/lib
       > Using Parsec parser
       > pkg-config: readCreateProcess: posix_spawnp: does not exist (No such file or directory)
       For full logs, run 'nix log /nix/store/2k9bmprkqzbkygdfi6qcc7924dq94kc4-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1.drv'.
error: 1 dependencies of derivation '/nix/store/d0yvrq9g8vd6sg4s9zjp1jjrm2w1qrxq-cachix-static-x86_64-unknown-linux-musl-0.8.1.drv' failed to build

So the error is pkg-config: readCreateProcess: posix_spawnp: does not exist (No such file or directory) in /nix/store/2k9bmprkqzbkygdfi6qcc7924dq94kc4-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.3.1.drv.

hercules-ci-cnix-store seems to link against Nix' libstore, so getting this to work might be more complicated, but it'd be very nice to have a static cachix binary.

@flokli flokli added the 0.kind: bug Something is broken label Aug 26, 2022
@domenkozar
Copy link
Member

Duplicates cachix/cachix#184

@cdepillabout
Copy link
Member

hercules-ci-cnix-store seems to link against Nix' libstore, so getting this to work might be more complicated, but it'd be very nice to have a static cachix binary.

Anyone from @NixOS/static have any idea what could be going on here?

The definition of hercules-ci-cnix-store in Nixpkgs is:

https://github.com/NixOS/nixpkgs/blob/a013583ca0713ed50be62ca6cb3906c6f03021e7/pkgs/development/haskell-modules/hackage-packages.nix#L135398-L135423

Plus this override:

hercules-ci-cnix-store = super.hercules-ci-cnix-store.override { nix = pkgs.nixVersions.nix_2_9; };

@sternenseemann
Copy link
Member

sternenseemann commented Sep 9, 2022

The issue is that Cabal ignores the PKG_CONFIG environment variable and tries to call the unprefixed pkg-config binary which doesn't exist when cross compiling. This is something we'll need to pitch to upstream and patch in ourselves.

Edit: Nevermind what I said, we do tell Cabal about pkg-config via --with-pkg-config.

@sternenseemann
Copy link
Member

sternenseemann commented Sep 10, 2022

I've determined that the actual culprit for the immediate failure is hercules-ci/hercules-ci-agent#447.

To confirm this, I've made an incorrect & quick workaround which reveals the next problem: Nix doesn't seem to install its libraries when built statically, so even if we have the correct pkg-config executable, finding the required libraries will fail.

See also NixOS/nix#7021.

@domenkozar
Copy link
Member

@noverby
Copy link

noverby commented Jan 26, 2024

@domenkozar
Seems to be broken again on master:

       > Using Parsec parser
       > pkg-config: readCreateProcess: posix_spawnp: does not exist (No such file or directory)
       For full logs, run 'nix log /nix/store/4k1hngfv4kabq9j04xnnfppl8yq1hzjf-hercules-ci-cnix-store-static-x86_64-unknown-linux-musl-0.3.4.0.drv'.

@domenkozar domenkozar reopened this Jan 26, 2024
@roberth
Copy link
Member

roberth commented Jan 26, 2024

Might this patch help? I've had no success testing it for other reasons, but considering the error message above, it might be the only blocker this time.

@domenkozar
Copy link
Member

It will still break once you try to compile TH statically.

We're waiting for NixOS/nix#8699

@roberth
Copy link
Member

roberth commented Jan 26, 2024

Ohh right, ignore my previous "the only blocker".
Thanks Domen.

@noverby
Copy link

noverby commented Jan 26, 2024

@domenkozar Is there anyway to do a slim install (e.g. without pulling in gcc and such), until this is fixed?

@domenkozar
Copy link
Member

Not really, but we're quite close to fixing it.

@noverby
Copy link

noverby commented Jan 27, 2024

@domenkozar Is there an issue for tracking the fix?
(Other than NixOS/nix#8699)

@domenkozar
Copy link
Member

cachix/cachix#627

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 2.status: wait-for-upstream Waiting for upstream fix (or their other action). 6.topic: haskell 6.topic: static
Development

Successfully merging a pull request may close this issue.

7 participants