wiki/docs/nix/pkgs-languages-frameworks.md

39 lines
1.1 KiB
Markdown

---
title: Language/Framework Specific Builders in Nixpkgs
description:
published: true
date: 2024-06-22T15:04:51.666Z
tags: nix, nixpkgs
editor: markdown
dateCreated: 2024-06-22T15:04:51.666Z
---
# Introduction to Nixpkgs' Language/Framework Specific Builders
This page is an overview of language/framework specific builders in Nixpkgs.
## The Standard Environment (`pkgs.stdenv`)
This is the standard build environment, providing amongst others the default C(++) toolchain.
Resources:
- [Nipkgs manual](https://nixos.org/manual/nixpkgs/stable/#part-stdenv)
## Hooks
Hooks augment the stdenv phases (see ["The Standard Environment"](#the-standard-environment-pkgsstdenv)), e.g. to build with `cmake`.
Resources:
- [Nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#chap-hooks)
## Languages / Frameworks
Nixpkgs has various specialised alternatives to `mkDerivation`, such as `buildPythonApplication` for python application, `buildRustPackage` for rust packages and much more.
Resources:
- [Nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#chap-language-support)