Found using https://github.com/serokell/xrefcheck, which unfortunately can't trivially be enforced in CI because we also have the manual markdown files that need post-processing to be valid
···11# CI support files
2233This directory contains files to support CI, such as [GitHub Actions](https://github.com/NixOS/nixpkgs/tree/master/.github/workflows) and [Ofborg](https://github.com/nixos/ofborg).
44-This is in contrast with [`maintainers/scripts`](`../maintainers/scripts`) which is for human use instead.
44+This is in contrast with [`maintainers/scripts`](../maintainers/scripts) which is for human use instead.
5566## Pinned Nixpkgs
77
+1-1
doc/README.md
···285285 - _optional_ attributes have a _`Default:`_ if it's easily described as a value.
286286 - _optional_ attributes have a _`Default behavior:`_ if it's not easily described using a value.
287287 - Nix types aren't in code spans, because they are not code
288288- - Nix types are capitalized, to distinguish them from the camelCase [Module System](#module-system) types, which _are_ code and behave like functions.
288288+ - Nix types are capitalized, to distinguish them from the camelCase Module System types, which _are_ code and behave like functions.
289289290290#### Examples
291291
+1-1
pkgs/README.md
···689689- [Lobster compile test](development/compilers/lobster/test-can-run-hello-world.nix)
690690- [Spacy annotation test](development/python-modules/spacy/annotation-test/default.nix)
691691- [Libtorch test](development/libraries/science/math/libtorch/test/default.nix)
692692-- [Multiple tests for nanopb](development/libraries/nanopb/default.nix)
692692+- [Multiple tests for nanopb](./by-name/na/nanopb/package.nix)
693693694694### Linking NixOS module tests to a package
695695
+1-1
pkgs/applications/science/math/sage/README.md
···12121313- search the [sage GitHub repo](https://github.com/sagemath/sage) for keywords like "Upgrade <package>". Maybe somebody has already proposed a patch that fixes the issue. You can then add a `fetchpatch` to `sage-src.nix`.
14141515-- check if [gentoo](https://github.com/cschwan/sage-on-gentoo/tree/master/sci-mathematics/sage), [debian](https://salsa.debian.org/science-team/sagemath/tree/master/debian) or [arch linux](https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/sagemath) already solved the problem. You can then again add a `fetchpatch` to `sage-src.nix`. If applicable you should also [propose the patch upstream](#proposing-a-sage-patch).
1515+- check if [gentoo](https://github.com/cschwan/sage-on-gentoo/tree/master/sci-mathematics/sage), [debian](https://salsa.debian.org/science-team/sagemath/tree/master/debian) or [arch linux](https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/sagemath) already solved the problem. You can then again add a `fetchpatch` to `sage-src.nix`. If applicable you should also propose the patch upstream.
16161717- fix the problem yourself. First clone the sagemath source and then check out the sage version you want to patch:
1818
+3-3
pkgs/development/compilers/elm/packages/README.md
···99and [cabal2nix readme](https://github.com/NixOS/cabal2nix#readme) for more information. Elm-format [update scripts](https://github.com/avh4/elm-format/tree/master/package/nix)
1010is part of its repository.
11111212-Node dependencies are defined in [node-packages.json](node-packages.json).
1212+Node dependencies are defined in [node-packages.json](node/node-packages.json).
1313[Node2nix](https://github.com/svanderburg/node2nix) is used for generating nix expression
1414-from this file. Use [generate-node-packages.sh](generate-node-packages.sh) for updates of nix expressions.
1414+from this file. Use [generate-node-packages.sh](node/generate-node-packages.sh) for updates of nix expressions.
15151616## Binwrap Patch
17171818Some node packages might use [binwrap](https://github.com/avh4/binwrap) typically for installing
1919[elmi-to-json](https://github.com/stoeffel/elmi-to-json). Binwrap is not compatible with nix.
2020-To overcome issues with those packages apply [patch-binwrap.nix](patch-binwrap.nix) which essentially does 2 things.
2020+To overcome issues with those packages apply [patch-binwrap.nix](../lib/default.nix) which essentially does 2 things.
212122221. It replaces binwrap scripts with noop shell scripts
23232. It uses nix for installing the binaries to expected location in `node_modules`
+3-3
pkgs/development/cuda-modules/modules/README.md
···25252626Alternatively, additional fields or values may need to be configured to account
2727for the particulars of a package. For example, while the release expressions for
2828-[CUDNN](./cudnn/releases.nix) and [TensorRT](./tensorrt/releases.nix) are very
2828+[CUDNN](../cudnn/releases.nix) and [TensorRT](../tensorrt/releases.nix) are very
2929close, they differ slightly in the fields they have. The [module for
3030-CUDNN](./modules/cudnn/default.nix) is able to use the generic module for
3030+CUDNN](./cudnn/default.nix) is able to use the generic module for
3131release expressions, while the [module for
3232-TensorRT](./modules/tensorrt/default.nix) must add additional fields to the
3232+TensorRT](./tensorrt/default.nix) must add additional fields to the
3333generic module.
34343535### `manifests`