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

flake: use stdenvNoCC #379

Merged
merged 1 commit into from
Mar 9, 2024
Merged

flake: use stdenvNoCC #379

merged 1 commit into from
Mar 9, 2024

Conversation

GrigorenkoPV
Copy link
Contributor

Drastically reduces the size of build dependencies by not pulling gcc.

Before:

$ nix -Lv build . --dry-run
this derivation will be built:
  /nix/store/516w6ydn8v54bb5na9lcgwjn4dqpi7yn-xdg-ninja-0.1.0.drv
these 54 paths will be fetched (74.11 MiB download, 341.59 MiB unpacked):
...

After:

$ nix -Lv build . --dry-run
this derivation will be built:
  /nix/store/11mifcs2x0ngca6l9gklwz8zwjp87k15-xdg-ninja-0.1.0.drv
these 41 paths will be fetched (18.35 MiB download, 87.14 MiB unpacked):
...

@b3nj5m1n b3nj5m1n merged commit 2df7c54 into b3nj5m1n:main Mar 9, 2024
1 check passed
@GrigorenkoPV GrigorenkoPV deleted the nocc branch March 9, 2024 19:22
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