lol

treewide: Fix or remove some markdown links

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

+10 -10
+1 -1
ci/README.md
··· 1 1 # CI support files 2 2 3 3 This 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). 4 - This is in contrast with [`maintainers/scripts`](`../maintainers/scripts`) which is for human use instead. 4 + This is in contrast with [`maintainers/scripts`](../maintainers/scripts) which is for human use instead. 5 5 6 6 ## Pinned Nixpkgs 7 7
+1 -1
doc/README.md
··· 285 285 - _optional_ attributes have a _`Default:`_ if it's easily described as a value. 286 286 - _optional_ attributes have a _`Default behavior:`_ if it's not easily described using a value. 287 287 - Nix types aren't in code spans, because they are not code 288 - - Nix types are capitalized, to distinguish them from the camelCase [Module System](#module-system) types, which _are_ code and behave like functions. 288 + - Nix types are capitalized, to distinguish them from the camelCase Module System types, which _are_ code and behave like functions. 289 289 290 290 #### Examples 291 291
+1 -1
pkgs/README.md
··· 689 689 - [Lobster compile test](development/compilers/lobster/test-can-run-hello-world.nix) 690 690 - [Spacy annotation test](development/python-modules/spacy/annotation-test/default.nix) 691 691 - [Libtorch test](development/libraries/science/math/libtorch/test/default.nix) 692 - - [Multiple tests for nanopb](development/libraries/nanopb/default.nix) 692 + - [Multiple tests for nanopb](./by-name/na/nanopb/package.nix) 693 693 694 694 ### Linking NixOS module tests to a package 695 695
+1 -1
pkgs/applications/science/math/sage/README.md
··· 12 12 13 13 - 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`. 14 14 15 - - 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). 15 + - 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. 16 16 17 17 - fix the problem yourself. First clone the sagemath source and then check out the sage version you want to patch: 18 18
+3 -3
pkgs/development/compilers/elm/packages/README.md
··· 9 9 and [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) 10 10 is part of its repository. 11 11 12 - Node dependencies are defined in [node-packages.json](node-packages.json). 12 + Node dependencies are defined in [node-packages.json](node/node-packages.json). 13 13 [Node2nix](https://github.com/svanderburg/node2nix) is used for generating nix expression 14 - from this file. Use [generate-node-packages.sh](generate-node-packages.sh) for updates of nix expressions. 14 + from this file. Use [generate-node-packages.sh](node/generate-node-packages.sh) for updates of nix expressions. 15 15 16 16 ## Binwrap Patch 17 17 18 18 Some node packages might use [binwrap](https://github.com/avh4/binwrap) typically for installing 19 19 [elmi-to-json](https://github.com/stoeffel/elmi-to-json). Binwrap is not compatible with nix. 20 - To overcome issues with those packages apply [patch-binwrap.nix](patch-binwrap.nix) which essentially does 2 things. 20 + To overcome issues with those packages apply [patch-binwrap.nix](../lib/default.nix) which essentially does 2 things. 21 21 22 22 1. It replaces binwrap scripts with noop shell scripts 23 23 2. It uses nix for installing the binaries to expected location in `node_modules`
+3 -3
pkgs/development/cuda-modules/modules/README.md
··· 25 25 26 26 Alternatively, additional fields or values may need to be configured to account 27 27 for the particulars of a package. For example, while the release expressions for 28 - [CUDNN](./cudnn/releases.nix) and [TensorRT](./tensorrt/releases.nix) are very 28 + [CUDNN](../cudnn/releases.nix) and [TensorRT](../tensorrt/releases.nix) are very 29 29 close, they differ slightly in the fields they have. The [module for 30 - CUDNN](./modules/cudnn/default.nix) is able to use the generic module for 30 + CUDNN](./cudnn/default.nix) is able to use the generic module for 31 31 release expressions, while the [module for 32 - TensorRT](./modules/tensorrt/default.nix) must add additional fields to the 32 + TensorRT](./tensorrt/default.nix) must add additional fields to the 33 33 generic module. 34 34 35 35 ### `manifests`