Skip to content

Give the devShell a nixpkgs compiler again, so nix develop needs no GHC build - #14

Merged
thomasjm merged 1 commit into
masterfrom
devshell-nixpkgs-ghc
Oct 15, 2026
Merged

thomasjm merged 1 commit into
masterfrom
devshell-nixpkgs-ghc

Conversation

@thomasjm

@thomasjm thomasjm commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

nix develop was silently source-building a compiler: the devShell asked for pkgsNew.haskell-nix.compiler.ghc9141, which haskell.nix builds from source rather than substituting. Points it back at pkgs.haskell.compiler.ghc9122 instead, which comes straight from the binary cache.

One line in flake.nix.

@thomasjm
thomasjm force-pushed the master branch 3 times, most recently from a3041af to d3a5621 Compare October 14, 2026 21:55
@thomasjm
thomasjm force-pushed the devshell-nixpkgs-ghc branch from 548e577 to 44850d4 Compare October 15, 2026 07:22
@thomasjm
thomasjm merged commit 09c5223 into master Oct 15, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant