mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 06:31:20 +00:00
84eea85ad9
The previous approach of manually repeating a complex pattern inside Common Lisp implementation package declarations was fragile and hard to change. After reading python and lua modules code in Nixpkgs, I was able to come up with something better. The function `wrapLisp` doesn't need to be inside package declarations so all the code for wrapping Lisps can be in `all-packages.nix`. This works by wrapping the `override` function created from `mkDerivation` to accept a new argument `packageOverrides`. One problem with this is that `override.__functionArgs` disappears. But one can look at the source code of a package to discover what can be overridden. |
||
---|---|---|
.. | ||
build-aux/pandoc-filters | ||
builders | ||
contributing | ||
doc-support | ||
functions | ||
hooks | ||
languages-frameworks | ||
old | ||
stdenv | ||
using | ||
.gitignore | ||
default.nix | ||
functions.xml | ||
Makefile | ||
manpage-urls.json | ||
manual.xml | ||
overrides.css | ||
preface.chapter.md | ||
README.md | ||
shell.nix | ||
style.css |
Nixpkgs/doc
This directory houses the sources files for the Nixpkgs manual.
You can find the rendered documentation for Nixpkgs unstable
on nixos.org.
Docs for Nixpkgs stable are also available.
If you want to contribute to the documentation, here's how to do it.
If you're only getting started with Nix, go to nixos.org/learn.