Skip to main content
< >

Nixpkgs Manual

Version 26.11pre

  • Preface
    • Overview of Nixpkgs
  • Package your first application

Using Nixpkgs

  • Platform Support
  • Global configuration
  • Overlays
  • Overriding

Nixpkgs Lib

  • Functions reference
    • Library Functions
      • lib.asserts: assertion functions
      • lib.attrsets: attribute set functions
      • lib.strings: string manipulation functions
      • lib.versions: version string functions
      • lib.trivial: miscellaneous functions
      • lib.fixedPoints: explicit recursion functions
      • lib.lists: list manipulation functions
      • lib.debug: debugging functions
      • lib.options: NixOS / nixpkgs option handling
      • lib.path: path functions
      • lib.filesystem: filesystem functions
      • lib.fileset: file set functions
      • lib.sources: source filtering functions
      • lib.cli: command-line serialization functions
      • lib.gvariant: GVariant formatted string serialization functions
      • lib.fetchers: functions which can be reused across fetchers
      • lib.generators: functions that create file formats from nix data structures
      • lib.customisation: Functions to customise (derivation-related) functions, derivations, or attribute sets
      • lib.meta: functions for derivation metadata
      • lib.derivations: miscellaneous derivation-specific functions
      • Generators
      • Debugging Nix Expressions
      • prefer-remote-fetch overlay
      • pkgs.nix-gitignore
  • Module System

Standard Environment

  • Standard environment
  • The Standard Environment
  • Meta-attributes
  • Passthru-attributes
  • Multiple-output packages
  • Cross-compilation
  • Platform Notes

Toolchains

  • The LLVM Toolchain

Builders

  • Build helpers
  • Fetchers
  • Trivial build helpers
  • Fixed-point arguments of build helpers
  • Development Shell helpers
  • Testers
  • Special build helpers
    • buildFHSEnv
    • fakeNss
    • pkgs.makeSetupHook
    • pkgs.mkShell
    • darwin.linux-builder
    • vmTools
  • Images
    • pkgs.appimageTools
    • pkgs.dockerTools
    • pkgs.ociTools
    • pkgs.portableService
    • <nixpkgs/nixos/lib/make-disk-image.nix>
    • pkgs.mkBinaryCache
  • Hooks reference
    • Autoconf
    • Automake
    • autoPatchelfHook
    • breakpointHook
    • cmake
    • gdk-pixbuf
    • GHC
    • GNOME platform
    • installShellFiles
    • libglycin
    • libiconv, libintl
    • libxml2
    • Meson
    • mpiCheckPhaseHook
    • ninja
    • patchRcPath hooks
    • Perl
    • pkg-config
    • pnpmBuildHook
    • postgresqlTestHook
    • Python
    • scons
    • teTeX / TeX Live
    • unzip
    • validatePkgConfig
    • versionCheckHook
    • wafHook
    • xcbuildHook
  • Languages and frameworks
    • Agda
    • Android
    • Astal
    • BEAM Languages (Erlang, Elixir & LFE)
    • CHICKEN
    • COSMIC
    • Crystal
    • CUDA
    • Cue (Cuelang)
    • D (Dlang)
    • Dart
    • Dhall
    • Dotnet
    • Emscripten
    • Factor
    • GNOME
    • Go
    • Gradle
    • Hare
    • Haskell
    • Hy
    • Idris
    • Idris2
    • iOS
    • Java
    • Javascript
    • Julia
    • Lean 4
    • lisp-modules
    • Lua
    • Maven
    • Neovim
    • Nim
    • OCaml
    • Octave
    • Perl
    • PHP
    • pkg-config
    • Python
    • Qt
    • R
    • Rocq and rocq packages
    • Ruby
    • Rust
    • Scheme
    • Swift
    • Tcl
    • TeX Live
    • Typst
    • Vim
  • Packages
    • Build Support
    • Cataclysm: Dark Days Ahead
    • Citrix Workspace
    • DLib
    • Eclipse
    • Elm
    • Emacs
    • Firefox
    • Fish
    • Friction
    • FUSE
    • Geant4
    • ibus-engines.typing-booster
    • Inkscape
    • Kakoune
    • Krita
    • LHAPDF
    • Linux kernel
    • Locales
    • /etc files
    • Nginx
    • nrfutil
    • OpenGL
    • Python Tree Sitter
    • Interactive shell helpers
    • Steam
    • treefmt
    • Urxvt
    • uv
    • VCPKG
    • WeeChat

Modules

  • Modules
    • Generic
      • meta-maintainers.nix

Development of Nixpkgs

  • Opening issues
  • Coding conventions

Interoperability Standards

  • CycloneDX
    • nix namespace
    • nix:narinfo
    • nix:fod

Release Notes

  • Release Notes
    • Nixpkgs 26.11 ("Zokor", 2026.11/??)
    • Nixpkgs 26.05 ("Yarara", 2026.05/30)
    • Nixpkgs 25.11 ("Xantusia", 2025.11/30)
    • Nixpkgs 25.05 (2025.05/23)

Standard environment