0

Running stack build and even stack --nix build on a NixOS build yields the following:

Linking /run/user/1000/stack7176/old-time-1.1.0.3/.stack-work/dist/x86_64-linux-nix/Cabal-1.22.5.0/setup/setup ...
Configuring old-time-1.1.0.3...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/run/user/1000/stack7176/old-time-1.1.0.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

I have installed gcc and clang on my system and verified that, i.e., gcc is indeed on my path. How to resolve this issue?

George
  • 6,927
  • 4
  • 34
  • 67

0 Answers0