-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
watchman: huge closure with boost.dev
dependence
#248660
Comments
Checking with $ nix path-info -Sh nixpkgs#watchman
evaluating derivation 'flake:nixpkgs#watchman'/nix/store/jsci9hsfbxiyvanr09y2jv1xmplxa6jd-watchman-2023.08.14.00 277.6M
$ nix path-info -rsh nixpkgs#watchman | sort -hk2 | tail -3
/nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27 28.8M
/nix/store/l77dphhwcw7j5k5kqxw1rqxbvhszgaw7-icu4c-73.2 37.7M
/nix/store/h1r04r2cay50i5k96b3miw27v8r9zwkr-boost-1.81.0-dev 145.1M |
Awesome! I think the remaining issue is due to the $ nix why-depends --all --precise nixpkgs\#watchman nixpkgs\#boost.dev
/nix/store/jsci9hsfbxiyvanr09y2jv1xmplxa6jd-watchman-2023.08.14.00
└───bin/watchman: …z63zs4-fmt-8.1.1/lib:/nix/store/bjmm3lshlbv99rx8mldnbb1yzhl2kya2-folly-2023.02.27.00/lib:/nix/st…
→ /nix/store/bjmm3lshlbv99rx8mldnbb1yzhl2kya2-folly-2023.02.27.00
└───lib/cmake/folly/folly-targets.cmake: …INCLUDE_DIRECTORIES "/nix/store/h1r04r2cay50i5k96b3miw27v8r9zwkr-boost-1.81.0-dev/include;/nix/s…
lib/pkgconfig/libfolly.pc: …DGFLAGS_IS_A_DLL=0 -I/nix/store/h1r04r2cay50i5k96b3miw27v8r9zwkr-boost-1.81.0-dev/include -I/nix…
→ /nix/store/h1r04r2cay50i5k96b3miw27v8r9zwkr-boost-1.81.0-dev Update: ok, I think I figured it out: the dep nixpkgs/pkgs/development/libraries/boost/generic.nix Lines 266 to 267 in 006b631
I will try to do a PR when I am free. Update: #278643 merged into |
gcc
& boost
dependenceboost
dependence
boost
dependenceboost.dev
dependence
Describe the bug
The watchman closure is huge:
due to the
gcc
&boost
dependence:It seems that the
gcc
dependency here is due to the python binding:Steps To Reproduce
Installing watchman adds another
406.06 MiB
to my system, as reported bynix-tree
.Expected behavior
Note: updated to respond to some comments by aaronjheng in the PR linked below.
Notify maintainers
@cstrahan @kylesferrazza
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: