Skip to content

Add Setup.hs command lines to plan.json#2484

Open
hamishmack wants to merge 6 commits intomasterfrom
static-nix-tools
Open

Add Setup.hs command lines to plan.json#2484
hamishmack wants to merge 6 commits intomasterfrom
static-nix-tools

Conversation

@hamishmack
Copy link
Collaborator

See #2469 (new PR to build the static nix-tools)

andreabedini and others added 6 commits January 13, 2026 13:50
Remove unused language extensions (BangPatterns, DeriveDataTypeable, etc.),
fix typo in function name (avaialbeTargetToJ -> availableTargetToJ), and
improve code formatting with eta reduction and simplified list syntax.
Include the exact Setup.hs invocations that cabal-install would use for
configure, build, copy, haddock, test, benchmark, and repl commands in
plan.json. This has the potential to reduce haskell.nix complexity by
eliminating the need to second-guess cabal-install's command-line generation.
# Conflicts:
#	nix-tools/cabal.project
#	nix-tools/nix-tools/make-install-plan/ProjectPlanOutput.hs
#	nix-tools/overlay.nix
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.

2 participants