Should `--no-install-ghc` be the default, with Nix integration enabled?

オープン
#6,860 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@mpilgrem がすでに取り組んでいます。

2026年3月14日 から。

評価

この issue はまだ評価されていません。

説明

component: nix type: discuss

Stack's Nix integration, when enabled, implies --system-ghc but does not imply --no-install-ghc.

In principle, a user-supplied shell.nix file might not put the needed (specified) GHC version on the path in the Nix environment without the nix-shell command failing. With --install-ghc, Stack will go on to try to install the specified GHC version.

Elsewhere, @chreekat has reported that he has experienced this.

Is --install-ghc a sensible default, when Stack's Nix integration is specified?

主要言語
Haskell
スター
4.1k
フォーク
857
平均マージ
17時間 32分
マージ済み PR(30日)
5

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

commercialhaskell/stack のほかの issue

commercialhaskell/stack の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。