Are there specific Nix packages that bundle common build tools to prevent this error?

Responsive Ad Header

Question

Grade: Education Subject: Support
Are there specific Nix packages that bundle common build tools to prevent this error?
Asked by:
85 Viewed 85 Answers

Answer (85)

Best Answer
(281)
Yes, NixOS provides meta-packages for convenience. For instance, `pkgs.buildTools` often includes a C compiler, linker, and other essential build utilities. Including `pkgs.buildTools` in your `buildInputs` is a common way to ensure a complete toolchain for most compilation tasks.