Skip to content

Stack repl fails with cpp-option -std=c99 #5532

@fendor

Description

@fendor

Steps to reproduce

  1. stack new some-proj
  2. Add cpp-options: -std=c99 to library stanza.
  3. Run command stack repl

Expected

Project loads fine.

Actual

Fails to load with a message: ghc: unrecognised flag: -std=c99

stack repl --verbose
$ stack repl --verbose
Version 2.5.1, Git revision d6ab861544918185236cf826cb2028abb266d6d5 x86_64 hpack-0.33.0
2021-05-03 10:28:55.669265: [debug] Checking for project config at: /home/hugin/Documents/haskell/simple-proj/stack.yaml
2021-05-03 10:28:55.669362: [debug] Loading project config file stack.yaml
2021-05-03 10:28:55.671355: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2021-05-02 08:28:55.671341293 UTC]
2021-05-03 10:28:55.671658: [debug] Using package location completions from a lock file
2021-05-03 10:28:55.672450: [debug] Loaded snapshot from Pantry database.
2021-05-03 10:28:55.779963: [debug] <ommitted since too big>
2021-05-03 10:28:55.814525: [debug] Running hpack on /home/hugin/Documents/haskell/simple-proj/package.yaml
2021-05-03 10:28:55.816540: [warn] /home/hugin/Documents/haskell/simple-proj/simple-proj.cabal was modified manually. Ignoring /home/hugin/Documents/haskell/simple-proj/package.yaml in favor of the cabal file.
If you want to use the package.yaml file instead of the cabal file,
then please delete the cabal file.
2021-05-03 10:28:55.817780: [debug] Asking for a supported GHC version
2021-05-03 10:28:55.817892: [debug] Installed tools: 
 - ghc-tinfo6-8.8.4
2021-05-03 10:28:55.817969: [debug] Run process: /sbin/ldconfig -p
2021-05-03 10:28:55.819354: [debug] Process finished in 1ms: /sbin/ldconfig -p
2021-05-03 10:28:55.820305: [debug] Did not find shared library libtinfo.so.5
2021-05-03 10:28:55.820390: [debug] Found shared library libtinfo.so.6 in /usr/lib/
2021-05-03 10:28:55.820545: [debug] Found shared library libncursesw.so.6 in 'ldconfig -p' output
2021-05-03 10:28:55.820581: [debug] Found shared library libgmp.so.10 in 'ldconfig -p' output
2021-05-03 10:28:55.820635: [debug] Did not find shared library libgmp.so.3
2021-05-03 10:28:55.820649: [debug] Potential GHC builds: tinfo6, ncurses6
2021-05-03 10:28:55.820674: [debug] Found already installed GHC builds: tinfo6
2021-05-03 10:28:55.820775: [debug] (SQL) SELECT "id","actual_version","arch","ghc_path","ghc_size","ghc_modified","ghc_pkg_path","runghc_path","haddock_path","cabal_version","global_db","global_db_cache_size","global_db_cache_modified","info","global_dump" FROM "compiler_cache" WHERE "ghc_path"=?; [PersistText "/home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-8.8.4"]
2021-05-03 10:28:55.863571: [debug] Loaded compiler information from cache
2021-05-03 10:28:55.863674: [debug] Asking for a supported GHC version
2021-05-03 10:28:55.863797: [debug] Resolving package entries
2021-05-03 10:28:55.863829: [debug] Parsing the targets
2021-05-03 10:28:55.865229: [debug] Checking flags
2021-05-03 10:28:55.865253: [debug] SourceMap constructed
2021-05-03 10:28:55.868587: [debug] Starting to execute command inside EnvConfig
2021-05-03 10:28:55.869516: [debug] Parsing the targets
2021-05-03 10:28:55.869626: [debug] Finding out which packages are already installed
2021-05-03 10:28:55.869716: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --global --no-user-package-db dump --expand-pkgroot
2021-05-03 10:28:55.896671: [debug] Process finished in 27ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --global --no-user-package-db dump --expand-pkgroot
2021-05-03 10:28:55.903562: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/.stack/snapshots/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:55.919268: [debug] Process finished in 16ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/.stack/snapshots/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:55.919492: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:55.934696: [debug] Process finished in 15ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:55.934873: [debug] Start: getPackageFiles /home/hugin/Documents/haskell/simple-proj/simple-proj.cabal
2021-05-03 10:28:55.943861: [debug] Finished in 9ms: getPackageFiles /home/hugin/Documents/haskell/simple-proj/simple-proj.cabal
2021-05-03 10:28:55.944206: [debug] Parsing the targets
2021-05-03 10:28:55.944373: [debug] Checking flags
2021-05-03 10:28:55.944394: [debug] SourceMap constructed
2021-05-03 10:28:55.945378: [debug] Finding out which packages are already installed
2021-05-03 10:28:55.945458: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --global --no-user-package-db dump --expand-pkgroot
2021-05-03 10:28:55.970699: [debug] Process finished in 25ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --global --no-user-package-db dump --expand-pkgroot
2021-05-03 10:28:55.977280: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/.stack/snapshots/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:55.993447: [debug] Process finished in 16ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/.stack/snapshots/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:55.993848: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:56.008929: [debug] Process finished in 15ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:56.009255: [debug] Constructing the build plan
2021-05-03 10:28:56.010213: [debug] Checking if we are going to build multiple executables with the same name
2021-05-03 10:28:56.010280: [debug] Executing the build plan
2021-05-03 10:28:56.011296: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "/home/hugin/Documents/haskell/simple-proj/",PersistText "config"]
2021-05-03 10:28:56.011655: [debug] (SQL) SELECT "id", "config_cache_id", "index", "option" FROM "config_cache_dir_option" WHERE ("config_cache_id"=?) ORDER BY "index"; [PersistInt64 1]
2021-05-03 10:28:56.011973: [debug] (SQL) SELECT "id", "config_cache_id", "index", "option" FROM "config_cache_no_dir_option" WHERE ("config_cache_id"=?) ORDER BY "index"; [PersistInt64 1]
2021-05-03 10:28:56.012097: [debug] (SQL) SELECT "id", "config_cache_id", "ghc_pkg_id" FROM "config_cache_dep" WHERE ("config_cache_id"=?); [PersistInt64 1]
2021-05-03 10:28:56.012187: [debug] (SQL) SELECT "id", "config_cache_id", "component" FROM "config_cache_component" WHERE ("config_cache_id"=?); [PersistInt64 1]
2021-05-03 10:28:56.012509: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "/home/hugin/Documents/haskell/simple-proj/",PersistText "config"]
2021-05-03 10:28:56.024703: [info] simple-proj> configure (lib)
2021-05-03 10:28:56.025097: [debug] Run process within /home/hugin/Documents/haskell/simple-proj/: /home/hugin/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.4 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0 configure --user --package-db=clear --package-db=global --package-db=/home/hugin/.stack/snapshots/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb --package-db=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb --libdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/lib --bindir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/bin --datadir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/share --libexecdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/libexec --sysconfdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/etc --docdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/doc/simple-proj-0.1.0.0 --htmldir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/doc/simple-proj-0.1.0.0 --haddockdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/doc/simple-proj-0.1.0.0 --dependency=base=base-4.13.0.0 --exact-configuration --ghc-option=-fhide-source-paths
2021-05-03 10:28:56.354636: [info] Configuring simple-proj-0.1.0.0...
2021-05-03 10:28:56.467881: [debug] Process finished in 443ms: /home/hugin/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.4 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0 configure --user --package-db=clear --package-db=global --package-db=/home/hugin/.stack/snapshots/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb --package-db=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb --libdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/lib --bindir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/bin --datadir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/share --libexecdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/libexec --sysconfdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/etc --docdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/doc/simple-proj-0.1.0.0 --htmldir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/doc/simple-proj-0.1.0.0 --haddockdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/doc/simple-proj-0.1.0.0 --dependency=base=base-4.13.0.0 --exact-configuration --ghc-option=-fhide-source-paths
2021-05-03 10:28:56.468063: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "/home/hugin/Documents/haskell/simple-proj/",PersistText "config"]
2021-05-03 10:28:56.468221: [debug] (SQL) SELECT "id", "config_cache_id", "index", "option" FROM "config_cache_dir_option" WHERE ("config_cache_id"=?) ORDER BY "index"; [PersistInt64 1]
2021-05-03 10:28:56.468395: [debug] (SQL) SELECT "id", "config_cache_id", "index", "option" FROM "config_cache_no_dir_option" WHERE ("config_cache_id"=?) ORDER BY "index"; [PersistInt64 1]
2021-05-03 10:28:56.468488: [debug] (SQL) SELECT "id", "config_cache_id", "ghc_pkg_id" FROM "config_cache_dep" WHERE ("config_cache_id"=?); [PersistInt64 1]
2021-05-03 10:28:56.468563: [debug] (SQL) SELECT "id", "config_cache_id", "component" FROM "config_cache_component" WHERE ("config_cache_id"=?); [PersistInt64 1]
2021-05-03 10:28:56.468630: [debug] (SQL) UPDATE "config_cache" SET "pkg_src"=?,"active"=?,"path_env_var"=? WHERE "id"=? ; [PersistText "local:/home/hugin/Documents/haskell/simple-proj/",PersistBool True,PersistText "/home/hugin/.nix-profile/bin:/home/hugin/.cabal/bin:/home/hugin/.ghcup/bin:/home/hugin/.cargo/bin:/home/hugin/.local/bin:/home/hugin/.pyenv/bin:/home/hugin/.poetry/bin:/home/baldr/.local/bin:/home/hugin/.nix-profile/bin:/home/hugin/.cabal/bin:/home/hugin/.ghcup/bin:/home/hugin/.cargo/bin:/home/hugin/.local/bin:/home/hugin/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl",PersistInt64 1]
2021-05-03 10:28:56.477963: [info] simple-proj> initial-build-steps (lib)
2021-05-03 10:28:56.478166: [debug] Run process within /home/hugin/Documents/haskell/simple-proj/: /home/hugin/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.4 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0 repl stack-initial-build-steps
2021-05-03 10:28:56.489585: [debug] Process finished in 11ms: /home/hugin/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.4 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0 repl stack-initial-build-steps
2021-05-03 10:28:56.489684: [debug] Finding out which packages are already installed
2021-05-03 10:28:56.489788: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --global --no-user-package-db dump --expand-pkgroot
2021-05-03 10:28:56.516154: [debug] Process finished in 26ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --global --no-user-package-db dump --expand-pkgroot
2021-05-03 10:28:56.522278: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/.stack/snapshots/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:56.538562: [debug] Process finished in 16ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/.stack/snapshots/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:56.538764: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:56.554878: [debug] Process finished in 16ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-pkg-8.8.4 --user --no-user-package-db --package-db /home/hugin/Documents/haskell/simple-proj/.stack-work/install/x86_64-linux-tinfo6/2e4bd3ee671e15eb30f48d9f8c1147ddc28df1628edbf92de591d707a016c265/8.8.4/pkgdb dump --expand-pkgroot
2021-05-03 10:28:56.555126: [debug] Start: getPackageFiles /home/hugin/Documents/haskell/simple-proj/simple-proj.cabal
2021-05-03 10:28:56.556698: [debug] Finished in 2ms: getPackageFiles /home/hugin/Documents/haskell/simple-proj/simple-proj.cabal
2021-05-03 10:28:56.556972: [info] Configuring GHCi with the following packages: simple-proj
2021-05-03 10:28:56.557218: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-8.8.4 --version
2021-05-03 10:28:56.584219: [debug] Process finished in 27ms: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-8.8.4 --version
2021-05-03 10:28:56.584429: [debug] Run process: /home/hugin/.stack/programs/x86_64-linux/ghc-tinfo6-8.8.4/bin/ghc-8.8.4 --interactive -i -odir=/home/hugin/Documents/haskell/simple-proj/.stack-work/odir -hidir=/home/hugin/Documents/haskell/simple-proj/.stack-work/odir -hide-all-packages -i/home/hugin/Documents/haskell/simple-proj/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/build -i/home/hugin/Documents/haskell/simple-proj/src -i/home/hugin/Documents/haskell/simple-proj/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/build/autogen -i/home/hugin/Documents/haskell/simple-proj/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/build/global-autogen -stubdir=/home/hugin/Documents/haskell/simple-proj/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/build -package-id=base-4.13.0.0 -std=c99 -optP-include -optP/home/hugin/Documents/haskell/simple-proj/.stack-work/ghci/7fd04e19/cabal_macros.h -ghci-script=/tmp/haskell-stack-ghci/dd2994a9/ghci-script
ghc: unrecognised flag: -std=c99

Usage: For basic information, try the `--help' option.

Stack version

$ stack --version
Version 2.5.1, Git revision d6ab861544918185236cf826cb2028abb266d6d5 x86_64 hpack-0.33.0

Method of installation

  • Official binary, downloaded from stackage.org or fpcomplete's package repository

Related to haskell/haskell-language-server#748

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions