We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 734d829 commit 01f822fCopy full SHA for 01f822f
builder/shell-for.nix
@@ -167,7 +167,9 @@ in
167
buildInputs = systemInputs
168
++ mkDrvArgs.buildInputs or [];
169
nativeBuildInputs = [ ghcEnv ]
170
- ++ nativeBuildInputs
+ # We remove hsc2hs from dependencies provided by packages `build-tools`
171
+ # since it is already provided by `ghcEnv` (avoid collision with using devshell).
172
+ ++ (lib.filter (p: p.pname or "" != "hsc2hs-exe-hsc2hs") nativeBuildInputs)
173
++ mkDrvArgs.nativeBuildInputs or []
174
++ lib.attrValues (buildPackages.haskell-nix.tools' evalPackages compiler.nix-name tools)
175
# If this shell is a cross compilation shell include
0 commit comments