nixpkgs/doc
Artturin 0fdae31531 stdenv: let overrideAttrs accept attrset OR function
Makes overrideAttrs usable in the same way that `override` can be used.
It allows the first argument of `overrideAttrs` to be either a function
or an attrset, instead of only a function:

hello.overrideAttrs (old: { postBuild = "echo hello"; })
hello.overrideAttrs { postBuild = "echo hello"; }

Previously only the first example was possible.

Co-authored-by: adisbladis <adisbladis@gmail.com>
Co-authored-by: matthewcroughan <matt@croughan.sh>
2023-06-30 23:28:00 +03:00
..
build-aux/pandoc-filters treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to lib.importJSON ./file.json #2 2023-05-06 16:20:13 +02:00
builders doc: normalize markdown for nixos-render-docs 2023-06-10 18:17:05 +02:00
contributing doc/contributing/review-contributions: fix small typo (#237186) 2023-06-11 14:54:35 +02:00
doc-support lib/modules: Move class out of specialArgs 2023-05-06 18:32:58 +02:00
functions doc: correct typos and spelling (#237098) 2023-06-11 02:15:43 +02:00
hooks doc: make sure section depths are consecutive 2023-06-10 18:17:04 +02:00
languages-frameworks buildDotnetGlobalTool: document dotnet global tools and their packaging 2023-06-20 17:20:52 +02:00
module-system lib.modules: configurationClass -> class 2023-05-06 18:32:59 +02:00
old doc: fix typos 2022-12-17 18:21:48 -05:00
stdenv Merge pull request #237068 from pennae/manual-normalization 2023-06-13 07:35:06 +02:00
using stdenv: let overrideAttrs accept attrset OR function 2023-06-30 23:28:00 +03:00
.gitignore doc/.gitignore: add media 2023-04-13 12:24:04 -07:00
default.nix doc: stub out epub manual 2023-06-12 17:50:52 +02:00
functions.xml
Makefile doc: stub out epub manual 2023-06-12 17:50:52 +02:00
manpage-urls.json Remove unused reference 2023-04-09 21:56:55 +02:00
manual.xml doc: Add Module System chapter start 2023-05-06 18:29:05 +02:00
overrides.css
preface.chapter.md updating stable nixos version in preface. 2023-01-05 22:24:19 +00:00
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.