about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2024-04-03doc: improve fetchers overview, deduplicate readme content, follow doc ↵Daniel Sidhion2-38/+135
conventions (#297654) * doc: improve fetchers overview, deduplicate readme content * Improve caveat explanation and some fetchurl content * move out consumer docs on source fetching * move note on mirror URLs to the relevant section this may be better suited for the `fetchurl` reference, but it's probably better to just render that information into the manual. for now, because - contributor documentation encourages mirrors - we can expect contributors to dig into the source - linking source files is trivial in in-code documentation we leave it there. * move instructions for updating hashes to the manual * Add more clarity on text, reorganise source hash methods --------- Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Dominic Mills-Howell <dominic.millz27@gmail.com> Co-authored-by: lolbinarycat <dogedoge61+github@gmail.com>
2024-03-31Merge master into staging-nextgithub-actions[bot]2-21/+16
2024-03-31Merge pull request #300019 from eflanagan0/doc-lowercase-npmDaniel Sidhion1-10/+10
doc: lowercase npm name
2024-03-31doc: clean-up Coq derivation example (#299927)Vincent Laporte1-11/+6
2024-03-30Merge master into staging-nextgithub-actions[bot]1-4/+0
2024-03-30Revert "stdenv: add meta.repository field"K9001-4/+0
This reverts commit 7e1443abbba99e9dac29ce2ad01c1c4e4fb66070.
2024-03-30Merge master into staging-nextgithub-actions[bot]1-0/+4
2024-03-29Merge pull request #294347 from lolbinarycat/meta.repositorya-n-n-a-l-e-e1-0/+4
stdenv: add meta.repository field
2024-03-29stdenv: add meta.repository fieldbinarycat1-0/+4
2024-03-29doc: lowercase npm nameEli Flanagan1-10/+10
npm, Inc documentation asks to use lowercase. Their documentation also has consistent lowercase usage. e.g. <https://docs.npmjs.com/about-npm>
2024-03-28Merge master into staging-nextgithub-actions[bot]49-496/+756
2024-03-28treewide: Switch markdown placeholder from "..." to <...>Janne Heß5-6/+6
We use angle brackets since they look a lot like a placeholder while also being valid nix code, as suggested by roberth here: https://github.com/NixOS/nixpkgs/pull/299554#discussion_r1541797970
2024-03-28treewide: Fix all Nix ASTs in all markdown filesJanne Heß48-465/+725
This allows for correct highlighting and maybe future automatic formatting. The AST was verified to work with nixfmt only.
2024-03-28treewide: Mark Nix blocks in markdown as NixJanne Heß10-31/+31
This should help us with highlighting and future formatting.
2024-03-26Merge master into staging-nextgithub-actions[bot]1-0/+60
2024-03-25doc: add build rust package with meson example (#298881)Aleksana1-0/+60
2024-03-25Merge master into staging-nextgithub-actions[bot]1-2/+2
2024-03-25doc/build-helpers: add missing semicolons (#298632)sekc1-2/+2
Co-authored-by: seksea <williamireland0@gmail.com>
2024-03-23Merge staging-next into staginggithub-actions[bot]1-13/+32
2024-03-22doc: improve javascript conventions (#298127)Eli Flanagan1-13/+32
I created newlines per the <https://github.com/NixOS/nixpkgs/blob/master/doc/README.md#documentation-conventions> guide. This paves the way for future contributions to not be distracted by expected conventions.
2024-03-21Merge staging-next into staginggithub-actions[bot]1-1/+1
2024-03-21Merge pull request #297687 from DanielSidhion/fix-manual-headingsSilvan Mosberger1-1/+1
doc: fix code to generate links for headings in the manual
2024-03-21doc: fix code to generate links for headings in the manualDS1-1/+1
2024-03-21Merge staging-next into staginggithub-actions[bot]1-2/+3
2024-03-21Merge pull request #297347 from tzx/docs-right-location-buildPytonPackageMartin Weinelt1-2/+3
doc: document name binding for buildPythonPackage
2024-03-21doc: document name binding for buildPythonPackageTimmy Xiao1-2/+3
2024-03-20Merge staging-next into staginggithub-actions[bot]1-0/+4
2024-03-20doc: Add troubleshooting for Cythonized code and pytest (#293069)Sarah Clark1-0/+4
Cython is a Python compiler that emits native .so modules. By default, python derivations run tests in the wrong directory to see these modules and tests fail. Issue #255262 documents the root cause and solution for this problem. This PR adds a description of the problem and the most common solution to the test troubleshooting list.
2024-03-20Merge staging-next into staginggithub-actions[bot]1-1/+1
2024-03-19Merge pull request #281576 from yannham/refactor/cuda-setup-hooks-refactorSomeone1-1/+1
cudaPackages: generalize and refactor setup hooks
2024-03-19Merge staging-next into staginggithub-actions[bot]1-3/+7
2024-03-19Merge pull request #178717 from ShamrockLee/write-multiple-referencesSomeone1-3/+7
trivial-builders: replace writeReferencesToFile with writeClosure
2024-03-19Merge staging-next into staginggithub-actions[bot]1-3/+26
2024-03-19Merge pull request #296549 from TomaSajt/strip-java-archives-hookPol Dellaiera1-3/+26
add stripJavaArchivesHook and use treewide
2024-03-19Merge staging-next into staginggithub-actions[bot]2-2/+103
2024-03-18Merge pull request #294019 from Lurkki14/doc-makedesktopitemDaniel Sidhion1-0/+101
doc: document makeDesktopItem
2024-03-19writeClosure: init, replacing writeReferencesToFileYueh-Shun Li1-3/+7
Replace writeReferencesToFile with writeClosure. Make writeClosure accept a list of paths instead of a path. Re-implement with JSON-based exportReferencesGraph interface provided by __structuredAttrs = true. Reword the documentation. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> Co-authored-by: Someone Serge <sergei.kozlukov@aalto.fi>
2024-03-18doc: document makeDesktopItemJussi Kuokkanen1-0/+101
2024-03-18doc/mkYarnPackage: document better distPhase and doDistDoron Behar1-2/+2
2024-03-17doc: include stripJavaArchivesHook in the java sectionTomaSajt1-3/+26
2024-03-17Merge staging-next into staginggithub-actions[bot]6-224/+345
2024-03-16Merge branch 'master' into haskell-updatesmaralorn5-223/+339
2024-03-16doc: fix and simplify stylesheets for the manuals, fix nrd bug (#295847)Daniel Sidhion5-223/+339
* doc: fix and simplify stylesheets for the manuals, fix nrd bug * Add anchorjs script to add links on section headers * Fix another nrd bug, address style changes * Use span instead of a for inline span syntax
2024-03-16doc/lua: mention the patching of interpretersMatthieu Coudron1-0/+3
explain why they are patched in nixpkgs.
2024-03-15cudaPackages: generalize and refactor setup hookYann Hamdaoui1-1/+1
This PR refactor CUDA setup hooks, and in particular autoAddOpenGLRunpath and autoAddCudaCompatRunpathHook, that were using a lot of code in common (in fact, I introduced the latter by copy pasting most of the bash script of the former). This is not satisfying for maintenance, as a recent patch showed, because we need to duplicate changes to both hooks. This commit abstract the common part in a single shell script that applies a generic patch action to every elf file in the output. For autoAddOpenGLRunpath the action is just addOpenGLRunpath (now addDriverRunpath), and is few line function for autoAddCudaCompatRunpathHook. Doing so, we also takes the occasion to use the newer addDriverRunpath instead of the previous addOpenGLRunpath, and rename the CUDA hook to reflect that as well. Co-Authored-By: Connor Baker <connor.baker@tweag.io>
2024-03-15Merge master into haskell-updatesgithub-actions[bot]2-72/+0
2024-03-14Merge pull request #293416 from DanielSidhion/remove-makesnapSilvan Mosberger2-72/+0
snapTools: remove
2024-03-13Merge master into haskell-updatesgithub-actions[bot]2-1/+13
2024-03-11trivial-builders: Deduplicate docsRobert Hensing2-1/+13
I didn't have the opportunity to do all work at once, so I've added TODOs to bring attention to the situation.
2024-03-09Merge master into haskell-updatesgithub-actions[bot]1-0/+31