docs: create docs/nix/pkgs-languages-frameworks
This commit is contained in:
parent
151293d652
commit
b3713a4a9d
38
docs/nix/pkgs-languages-frameworks.md
Normal file
38
docs/nix/pkgs-languages-frameworks.md
Normal 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)
|
||||
|
Loading…
Reference in a new issue