From b3713a4a9dea83461c24c784692230ef82f26132 Mon Sep 17 00:00:00 2001 From: Florian Warzecha Date: Sat, 22 Jun 2024 15:04:54 +0000 Subject: [PATCH] docs: create docs/nix/pkgs-languages-frameworks --- docs/nix/pkgs-languages-frameworks.md | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 docs/nix/pkgs-languages-frameworks.md diff --git a/docs/nix/pkgs-languages-frameworks.md b/docs/nix/pkgs-languages-frameworks.md new file mode 100644 index 0000000..bf760ba --- /dev/null +++ b/docs/nix/pkgs-languages-frameworks.md @@ -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) +