Skip to main content
<
>
Nixpkgs Manual
Version 27.05pre
Overview
Getting started
Getting started
Package your first application
Dev environments
Using Nixpkgs
Using Nixpkgs
How channels work
Platform Support
Global configuration
Overlays
Overriding
Standard environment
Standard environment
The Standard Environment
Meta-attributes
Passthru-attributes
Multiple-output packages
Cross-compilation
Platform Notes
Languages and frameworks
Languages and frameworks
Agda
Android
BEAM Languages (Erlang, Elixir & LFE)
CHICKEN
COSMIC
Crystal
CUDA
Cue (Cuelang)
Dart
Dhall
D (Dlang)
Dotnet
Emscripten
Factor
GNOME
Go
Gradle
Hare
Haskell
Hy
Idris
Idris2
iOS
Java
JavaScript
Julia
Lean 4
lisp-modules
Lua
Maven
Nim
OCaml
Octave
Perl
PHP
pkg-config
Python
Qt
R
Rocq and rocq packages
Ruby
Rust
Scheme
Swift
Tcl
TeX Live
Typst
Vim
Neovim
Toolchains
Toolchains
The LLVM Toolchain
Build helpers
Build helpers
Fixed-point arguments of build helpers
Fetchers
Trivial build helpers
Testers
Development Shell helpers
Special build helpers
buildEnv
fakeNss
buildFHSEnv
pkgs.makeSetupHook
pkgs.mkShell
vmTools
pkgs.checkpointBuildTools
pkgs.mkProtonBinDerivation
Images
pkgs.appimageTools
pkgs.dockerTools
pkgs.ociTools
pkgs.portableService
<nixpkgs/nixos/lib/make-disk-image.nix>
pkgs.mkBinaryCache
Hooks reference
Autoconf
Automake
autoPatchcilHook
autoPatchelfHook
aws-c-common
bmake
breakpointHook
CERNLIB
checkPhaseThreadLimitHook
cmake
desktop-file-utils
desktoToDarwinBundle
gdk-pixbuf
GNOME platform
guileImportsCheckHook
haredo
installAgentSkills
installShellFiles
installFonts
juce.projucerHook
julec.hook
just
libglycin
libiconv, libintl
libxml2
memcachedTestHook
Meson
mpiCheckPhaseHook
ninja
nodejsInstallExecutables
nodejsInstallManuals
npmHooks.npmBuildHook
npmHooks.npmConfigHook
npmHooks.npmInstallHook
patchRcPath hooks
Perl
pkg-config
pkgConfigCheckHook
postgresqlTestHook
Premake
Python
redisTestHook
scons
cargo-tauri.hook
teTeX / TeX Live
udevCheckHook
unzip
validatePkgConfig
versionCheckHook
wafHook
writableTmpDirAsHomeHook
Zig
xcbuildHook
xfce4-dev-tools
xtoolBuildHook
Packages
Packages
Citrix Workspace
darwin.linux-builder
DLib
Eclipse
Elm
Emacs
Firefox
Friction
Fish
FUSE
Geant4
ibus-engines.typing-booster
Inkscape
Kakoune
Krita
Linux kernel
LHAPDF
Locales
/etc files
Nginx
nrfutil
OpenGL
Packer
Interactive shell helpers
Python Tree Sitter
treefmt
Functions Reference
Steam
Cataclysm: Dark Days Ahead
Urxvt
VCPKG
WeeChat
uv
Build Support
Modules
Modules
Generic
meta-maintainers.nix
Reference
Nixpkgs lib
Functions reference
Nixpkgs 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.fetchers: functions which can be reused across fetchers
lib.filesystem: filesystem functions
Overview
lib.sources: source filtering functions
lib.cli: command-line serialization functions
lib.generators: functions that create file formats from nix data structures
lib.gvariant: GVariant formatted string serialization functions
lib.customisation: Functions to customise (derivation-related) functions, derivations, or attribute sets
lib.meta: functions for derivation metadata
lib.derivations: miscellaneous derivation-specific functions
lib.types.addCheck
Generators
Debugging Nix Expressions
prefer-remote-fetch overlay
pkgs.nix-gitignore
Module System
Interoperability Standards
Interoperability Standards
CycloneDX
nix
namespace
nix:narinfo
nix:fod
Contributing
Contributing
Contributing
Release Notes
Release Notes
Nixpkgs 27.05 ("Axolotl", 2027.05/??)
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)
Search documentation
Nixpkgs
lib
Previous
Generic
Next
Functions reference