-
Notifications
You must be signed in to change notification settings - Fork 249
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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.
dhess
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working