File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,6 +93,9 @@ Other enhancements:
9393 [ #3360 ] ( https://github.com/commercialhaskell/stack/issues/3360 )
9494* Better descriptions are now available for ` stack upgrade --help ` . See:
9595 [ #3070 ] ( https://github.com/commercialhaskell/stack/issues/3070 )
96+ * When using Nix, nix-shell now depends always on gcc to prevent build errors
97+ when using the FFI. As ghc depends on gcc anyway, this doesn't increase the
98+ dependency footprint.
9699
97100Bug fixes:
98101
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ runShellAndExit mprojectRoot getCompilerVersion getCmdArgs = do
7373 inContainer <- getInContainer
7474 ghc <- either throwIO return $ nixCompiler compilerVersion
7575 let pkgsInConfig = nixPackages (configNix config)
76- pkgs = pkgsInConfig ++ [ghc, " git" ]
76+ pkgs = pkgsInConfig ++ [ghc, " git" , " gcc " ]
7777 pkgsStr = " [" <> T. intercalate " " pkgs <> " ]"
7878 pureShell = nixPureShell (configNix config)
7979 addGCRoots = nixAddGCRoots (configNix config)
You can’t perform that action at this time.
0 commit comments