docs: create docs/nix/pkgs-languages-frameworks

This commit is contained in:
Florian Warzecha 2024-06-22 15:04:54 +00:00 committed by Auxolotl Wiki
parent 151293d652
commit b3713a4a9d

View file

@ -0,0 +1,38 @@
---
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)