Skip to content
New issue

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

Could cabal install sdist fewer packages? #10739

Open
philderbeast opened this issue Jan 12, 2025 · 0 comments
Open

Could cabal install sdist fewer packages? #10739

philderbeast opened this issue Jan 12, 2025 · 0 comments

Comments

@philderbeast
Copy link
Collaborator

Related to #10738, running cabal install cabal-install first does what looks like cabal sdist on all of the packages in the project when it only needs a subset of those. Perhaps it could only do the sdist on those it needs?

$ ~/.ghcup/bin/cabal-3.12.1.0 install cabal-install:exe:cabal --dry-run
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-described-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-syntax-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-hooks-3.16.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-install-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-install-solver-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/buildinfo-reference-generator-0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-QuickCheck-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-tests-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/Cabal-tree-diff-3.15.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-validate-1.0.0.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-testsuite-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/cabal-benchmarks-3.tar.gz
Wrote tarball sdist to
/home/philderbeast/dev/src/cabalism/cabal/dist-newstyle/sdist/solver-benchmarks-3.tar.gz
Resolving dependencies...
Build profile: -w ghc-9.10.1 -O1
In order, the following would be built (use -v for more details):
 - Cabal-syntax-3.15.0.0 (lib) (requires build)
 - hackage-security-0.6.2.6 (lib) (requires build)
 - Cabal-3.15.0.0 (lib) (requires build)
 - cabal-install-solver-3.15.0.0 (lib) (requires build)
 - cabal-install-3.15.0.0 (lib) (requires build)
 - cabal-install-3.15.0.0 (exe:cabal) (requires build)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant