We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
When trying to create a shell with GHC 9.10.1 and cabal-fmt, the build fails with the following error:
error: The Haskell package set does not contain the package: os-string (build dependency).
This is using the latest haskell.nix.
Steps To Reproduce
This isn't a complete expression but hopefully enough to repro:
{ system ? builtins.currentSystem, compiler-nix-name ? "ghc910" }: let sources = import ./nix/sources.nix; haskell-nix = import sources."haskell.nix" { }; pkgs = import sources.nixpkgs (haskell-nix.nixpkgsArgs // { inherit system; }); project = pkgs.haskell-nix.project' { inherit compiler-nix-name; src = ./.; shell = { tools = { cabal-fmt = { version = "latest"; configureArgs = "--allow-newer=base"; }; }; }; }; in { shell = project.shell; }
Running nix-shell -A shell will show the problem.
nix-shell -A shell
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When trying to create a shell with GHC 9.10.1 and cabal-fmt, the build fails with the following error:
This is using the latest haskell.nix.
Steps To Reproduce
This isn't a complete expression but hopefully enough to repro:
Running
nix-shell -A shell
will show the problem.The text was updated successfully, but these errors were encountered: