summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2023-05-22doc:fhs-envs: rewordAtemu1-4/+8
2023-05-22doc:fhs-envs: format example properlyAtemu1-12/+12
That sort of formatting wouldn't be accepted into Nixpkgs. We shouldn't format an example like that.
2023-05-22doc:fhs-envs: mention that runScript must be escaped by the callerAtemu1-1/+2
2023-05-21doc/python: remove usages of `fetchPypi` aliasesfigsoda1-3/+4
2023-05-20doc: fix typoNicolas Benes1-1/+1
2023-05-20Merge pull request #232594 from mweinelt/python-docsMartin Weinelt1-101/+250
doc/languages-frameworks/python: update formatting and interpreters
2023-05-20doc/languages-frameworks/python: update formatting and interpretersMartin Weinelt1-101/+250
Updates all interpreter references with 3.10/3.11, which are the current version, that we recurse into for their package set. Update all code examples with an explicit `format` and expand lists with multiple items as we do in the python package set. Also set `pythonImportsCheck` where tests are disabled.
2023-05-18doc/stdenv/Dependencies: fix inference rule var nameJan Tojnar1-1/+1
t0 is mentioned in the conclusion so we cannot use placeholder in the premise.
2023-05-12treewide: don't use rustPlatform.rustAlyssa Ross1-5/+8
This will be deprecated in the next commit.
2023-05-12Merge pull request #225313 from hercules-ci/testers-runNixOSTestJacek Galowicz1-0/+20
testers.runNixOSTest: init
2023-05-11Merge pull request #229770 from Misterio77/init-buildDartPackageKira Bruneau2-0/+66
buildDartApplication: init
2023-05-11testers.runNixOSTest: initRobert Hensing1-0/+20
An up to date alternative to pkgs.nixosTest
2023-05-10Merge pull request #231112 from farnoy/shortenPerlShebangs-manual-buildInputsWeijia Wang1-1/+1
doc: update shortenPerlShebang example to use nativeBuildInputs
2023-05-10docs: typo in cuda docs, forgot a colon (:)Hraban Luyat1-1/+1
2023-05-10doc: update shortenPerlShebang example to use nativeBuildInputsJakub Okoński1-1/+1
2023-05-06Merge pull request #197547 from hercules-ci/module-class-and-flake-importRobert Hensing3-1/+113
module system: Improve error messages around faulty imports
2023-05-06Merge pull request #230177 from SuperSandro2000/lib-fromJSON-2figsoda1-1/+1
treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to …
2023-05-06lib.modules: configurationClass -> classRobert Hensing1-2/+2
This simplifies the documentation. `configuration` is implied by `_type`.
2023-05-06lib.modules: in evalModules return move _module.class -> configurationClassRobert Hensing1-0/+8
2023-05-06doc/module-system: `_module` is not internalRobert Hensing1-1/+1
2023-05-06lib.modules: Change class declaration in module to _classRobert Hensing1-1/+1
2023-05-06lib/modules: Move class out of specialArgsRobert Hensing2-4/+4
2023-05-06module-system.chapter.md: Elaborate on extendModules performanceRobert Hensing1-2/+11
2023-05-06module-system.chapter.md: Add mental model to `type` and `extendModules`Robert Hensing1-0/+5
2023-05-06fixup! doc: Add Module System chapter startRobert Hensing1-16/+30
2023-05-06doc: Add Module System chapter startRobert Hensing2-0/+73
2023-05-06nixos,nixpkgs: Add module classesRobert Hensing1-1/+4
This allows modules that declare their class to be checked. While that's not most user modules, frameworks can take advantage of this by setting declaring the module class for their users. That way, the mistake of importing a module into the wrong hierarchy can be reported more clearly in some cases.
2023-05-06treewide: switch builtins.fromJSON(builtins.readFile ./file.json) to ↵Sandro Jäckel1-1/+1
lib.importJSON ./file.json #2
2023-05-06ocamlPackages.buildDunePackage: deprecate useDune2Et7f31-9/+6
2023-05-05buildFlutterApplication: add docsGabriel Fontes1-1/+30
2023-05-05buildDartApplication: initGabriel Fontes2-0/+37
This adds a function for easily packaging non-flutter dart apps.
2023-04-25doc/default.nix: make the manual build on more than one core (#225921)Adam Joseph2-0/+7
* doc/default.nix: make the manual build on more than one core Let's build the manual with more than one core. Maybe people will take better care of it now that it is less painful to build.
2023-04-25nodejs*: normalise names to better fit other packagesSandro Jäckel1-1/+1
Versioned package attributes are usually named like $pname_$version eg: nodejs-14_x -> nodejs_14
2023-04-24doc/stdenv/meta.chapter.md: document meta.badPlatforms (#225276)Adam Joseph1-1/+18
* doc/stdenv/meta.chapter.md: document meta.badPlatforms We don't have any documentation for the `meta.badPlatforms` attribute. This commit adds documentation for it.
2023-04-24Merge pull request #225272 from amjoseph-nixpkgs/pr/docs/broken-vs-badPlatformsAdam Joseph1-1/+20
doc/stdenv/meta.chapter.md: explain difference between broken and badPlatforms
2023-04-23remove trailing whitespaceAdam Joseph1-1/+1
2023-04-24Update doc/stdenv/meta.chapter.mdAdam Joseph1-1/+17
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-04-24Update doc/stdenv/meta.chapter.mdAdam Joseph1-1/+2
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-04-22haskell.compiler.ghc94: 9.4.4 -> 9.4.5sternenseemann1-1/+1
https://www.haskell.org/ghc/blog/20230418-ghc-9.4.5-released.html
2023-04-22buildGoModule: don't inherit build hooks when building go-modules (#225349)Doron Behar1-1/+11
* buildGoModule: don't inherit postBuild hook when building go-modules This is a slight revert of 5ce647b8bf7aee0d3862006d94df7878c7fc03a6 (#212800). Inheriting these hooks in the `.go-modules` derivation can be confusing: One doesn't expect them to run when generating the fixed output modules derivation, but only on the main derivation. A `postBuild` hook that adds some files to $out will cause a very hard to debug issue[1]. This commit adds support for a dedicated `modPostBuild` hook that will be used only by the derivation building `.go-modules`. Additionally, `go.section.md` now explains these attributes behavior better. [1]: https://discourse.nixos.org/t/cant-update-a-go-package-getting-go-inconsistent-vendoring/27063/6 Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-16Merge pull request #225748 from Atemu/buildFHSEnvBubblewrap-by-defaultAtemu1-3/+3
buildFHSEnv: use bubblewrap by default
2023-04-16tree-wide: buildFHSUserEnv -> buildFHSEnvAtemu1-3/+3
2023-04-15doc/stdenv: don't use name in examples, highlight preferring pnamegilice1-4/+8
2023-04-14use subcommands in plugin updaters (#223164)Matthieu Coudron2-7/+12
* update.py: introduce subparsers for plugin updaters This is preliminary work to help create more powerful plugin updaters. Namely I would like to be able to "just add" plugins without refreshing the older ones (helpful when github temporarily removes a user from github due to automated bot detection). Also concerning the lua updater, we pin some of the dependencies, and I would like to be able to unpin the package without editing the csv (coming in later PRs). * doc/updaters: update command to update editor plugins including vim, kakoune and lua packages Co-authored-by: figsoda
2023-04-14Fix a small typo in the manualAndrew Morgan1-1/+1
environements -> environments
2023-04-14Merge pull request #226057 from tweag/fix-function-location-revisionSilvan Mosberger1-1/+1
doc: Fix the function locations always pointing to master
2023-04-14Merge pull request #197247 from kip93/vmTools-docsValentin Gagarin2-0/+149
Documentation: add vmTools
2023-04-13doc/.gitignore: add mediaAdam Joseph1-0/+1
These files are generated when you run `nix-shell --command make` and are likely to be committed by accident. Let's help people avoid that.
2023-04-13doc: Fix the function locations always pointing to masterSilvan Mosberger1-1/+1
Instead of revisions as they should. This is (most-likely) caused by a simple typo, because Hydra is where the revision should come from, but it doesn't set `.revision` as the attribute, but rather `.rev`!
2023-04-11doc/stdenv/meta.chapter.md: explain difference between broken and badPlatformsAdam Joseph1-1/+3
There has been a longstanding ambiguity between `broken` and `badPlatforms`, which seem to serve overlapping purposes. This commit adds to the documentation two examples of constraints which cannot be expressed by `platforms` and `badPlatforms`. This commit also mentions `NIXPKGS_ALLOW_BROKEN=1` for overriding `broken`.