summary refs log tree commit diff
path: root/doc
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'upstream/master' into stagingJan Tojnar2018-12-16
|\
| * doc/breakpointHook: correct typosworldofpeace2018-12-13
| |
| * Update doc/stdenv.xmlDmitry Kalinkin2018-12-13
| | | | | | Co-Authored-By: guibou <guillaum.bouchard@gmail.com>
| * Fix english in stdenv.xmlGuillaume Bouchard2018-12-13
| |
* | Merge staging-next into stagingFrederik Rietdijk2018-12-07
|\|
| * docs: Remove nix-repl referencesMario Rodas2018-12-03
| | | | | | | | nix-repl has been deprecated
* | ghc: don’t add libiconv automaticallyMatthew Bauer2018-12-05
|/ | | | ghc needs it to fail to correctly detect it for later.
* Merge pull request #51329 from c0bw3b/cleanup/gnu-httpsmarkuskowa2018-12-02
|\ | | | | Favor HTTPS URLs - the GNU edition
| * Treewide: use HTTPS on GNU domainsc0bw3b2018-12-02
| | | | | | | | | | | | | | | | | | | | | | HTTP -> HTTPS for : - http://gnu.org/ - http://www.gnu.org/ - http://elpa.gnu.org/ - http://lists.gnu.org/ - http://gcc.gnu.org/ - http://ftp.gnu.org/ (except in fetchurl mirrors) - http://bugs.gnu.org/
* | Merge pull request #50977 from jtojnar/parallel-update.nixJan Tojnar2018-12-02
|\ \ | |/ |/| update.nix: Run update scripts in parallel
| * update.nix: Run update scripts in parallelJan Tojnar2018-12-01
| | | | | | | | | | | | | | | | | | | | | | To make updating large attribute sets faster, the update scripts are now run in parallel. Please note the following changes in semantics: - The string passed to updateScript needs to be a path to an executable file. - The updateScript can also be a list: the tail elements will then be passed to the head as command line arguments.
* | doc: fix incorrect exampleMatthew Bauer2018-11-28
| | | | | | For whatever reason, nix-build ... --argstr a.b "c" doesn't work. It fails quitely so it's best to use an example here that works.
* | Merge branch 'pr-51111'Léo Gaspard2018-11-29
|\ \ | | | | | | | | | | | | * pr-51111: doc: document upgrading Ruby packages
| * | doc: document upgrading Ruby packagesAlyssa Ross2018-11-28
| | | | | | | | | | | | | | | | | | As requested[1] by @Ekleog. [1]: https://github.com/NixOS/nixpkgs/pull/51040#issuecomment-441642763
* | | doc: tweak the coding conventions (#51113)zimbatm2018-11-27
| | | | | | | | | | | | | | | | | | | | | Encouraging to put container elements on their own lines to minimize diffs, merge conflicts and making re-ordering easier. Nix doesn't suffer the restrictions of other languages where commas are used to separate list items.
* | | Merge pull request #50802 from aszlig/autopatchelf-improvementsJörg Thalheim2018-11-27
|\ \ \ | | | | | | | | autoPatchelfHook: Fixes/improvements for Android SDK emulator
| * | | doc/stdenv: Document autoPatchelfHook changesaszlig2018-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First of all, this makes the existing documentation a bit more clear on what autoPatchelfHook is all about, because after discussing with @svanderburg - who wrote a similar implementation - the rationale about autoPatchelfHook wasn't very clear in the documentation. I also added the recent changes around being able to use autoPatchelf manually and the new --no-recurse flag. Signed-off-by: aszlig <aszlig@nix.build>
* | | | doc: add example usage for breakpointHook (#51005)Jörg Thalheim2018-11-26
| |/ / |/| |
* | | Merge master into staging-nextFrederik Rietdijk2018-11-20
|\ \ \ | | |/ | |/|
| * | doc/reviewing-contributions: fix build errorPierre Bourdon2018-11-20
| | | | | | | | | | | | Regression from #50674. Section IDs cannot contain spaces.
| * | doc/cross-compilation: remove reference to old wikiMatthew Bauer2018-11-19
| | | | | | | | | | | | The link doesn’t work and it’s not very important to the documentation anyway.
| * | doc/reviewing-contributions: pull-requests -> pull requestsMatthew Bauer2018-11-19
| | | | | | | | | | | | | | | This makes things more consistent. It’s also how GitHub refers to pull requests.
| * | doc/cross-compilation: fixupMatthew Bauer2018-11-19
| | | | | | | | | | | | More cleanups and stuff. May need to be split up.
| * | doc/platform-notes: reword xcode warningMatthew Bauer2018-11-19
| | | | | | | | | | | | xcbuild doesn’t work exactly like xcode in some ways.
| * | doc/stdenv: more changesMatthew Bauer2018-11-19
| | | | | | | | | | | | Lots of reworking here. May need to be split up.
| * | doc/stdenv: document more setup hookMatthew Bauer2018-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here I document setup hooks provided by: - cmake - xcbuildHook - meson - ninja - unzip - wafHook - scons
| * | doc/stdenv: document prefixKeyMatthew Bauer2018-11-19
| | | | | | | | | | | | This seems like a useful thing to document
| * | doc: move checkInputs to check phase sectionMatthew Bauer2018-11-19
| | | | | | | | | | | | This makes more sense in context.
| * | doc: typo fixesMatthew Bauer2018-11-19
| |/
| * Fix typo in nixpkgs manualAndrei Lapshin2018-11-19
| |
* | Merge master into staging-nextFrederik Rietdijk2018-11-19
|\|
| * Merge #26513: docs: use RFC 2119 in a sectionVladimír Čunát2018-11-18
| |\
| | * Use RFC 2119 convention to describe package naming conventionrht2018-11-11
| | |
* | | Merge master into staging-nextFrederik Rietdijk2018-11-18
|\| |
| * | doc/node: document the new preferred node versionJörg Thalheim2018-11-16
| | |
| * | docs: fix minor grammar issues in the manualBenjamin Hipple2018-11-14
| | |
| * | Merge pull request #50182 from Infinisil/idris/doc-updateSilvan Mosberger2018-11-14
| |\ \ | | | | | | | | nixpkgs idris docs: Update and improve
| | * | nixpkgs idris docs: Update and improveSilvan Mosberger2018-11-12
| | |/
* | | Merge master into staging-nextFrederik Rietdijk2018-11-12
|\| |
| * | ocamlPackages.*: remove unnecessary unpackCmdThéo Zimmermann2018-11-12
| | |
| * | meta.tests: rename into passthru.testsLéo Gaspard2018-11-11
| | | | | | | | | | | | | | | | | | | | | Nix currently rejects derivations in `meta` values. This works around that limitation by using `passthru` instead. Closes https://github.com/NixOS/nixpkgs/issues/50230
| * | meta.tests: drop `meta.needsVMSupport`Léo Gaspard2018-11-11
| | | | | | | | | | | | Its job is already handled by `requiredSystemFeatures`
* | | Merge master into staging-nextFrederik Rietdijk2018-11-11
|\| |
| * | doc: fix default python interpreterBenjamin Hipple2018-11-10
| |/ | | | | | | The default for `python3` is currently `python36`.
* | Merge master into staging-nextFrederik Rietdijk2018-11-10
|\|
| * Merge pull request #49684 from Zimmi48/dune-packageJörg Thalheim2018-11-07
| |\ | | | | | | buildDunePackage: add support function and use it in a few packages
| | * duneBuildPackage: documentThéo Zimmermann2018-11-07
| | |
| * | Remove preferLocalBuild documentationEelco Dolstra2018-11-07
| |/ | | | | | | | | | | It's incorrect (preferLocalBuild does not prevent uploading to binary caches) and is not a stdenv attribute (it's already documented in the Nix manual).
| * Merge pull request #44439 from Ekleog/meta-testsTimo Kaufmann2018-11-07
| |\ | | | | | | [RFC] Use `meta.tests` to link from packages to the tests that test them
| | * dovecot, opensmtpd: add link to test in `meta.tests`Léo Gaspard2018-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rationale --------- Currently, tests are hard to discover. For instance, someone updating `dovecot` might not notice that the interaction of `dovecot` with `opensmtpd` is handled in the `opensmtpd.nix` test. And even for someone updating `opensmtpd`, it requires manual work to go check in `nixos/tests` whether there is actually a test, especially given not so many packages in `nixpkgs` have tests and this is thus most of the time useless. Finally, for the reviewer, it is much easier to check that the “Tested via one or more NixOS test(s)” has been checked if the file modified already includes the list of relevant tests. Implementation -------------- Currently, this commit only adds the metadata in the package. Each element of the `meta.tests` attribute is a derivation that, when it builds successfully, means the test has passed (ie. following the same convention as NixOS tests). Future Work ----------- In the future, the tools could be made aware of this `meta.tests` attribute, and for instance a `--with-tests` could be added to `nix-build` so that it also builds all the tests. Or a `--without-tests` to build without all the tests. @Profpatsch described in his NixCon talk such systems. Another thing that would help in the future would be the possibility to reasonably easily have cross-derivation nix tests without the whole NixOS VM stack. @7c6f434c already proposed such a system. This RFC currently handles none of these concerns. Only the addition of `meta.tests` as metadata to be used by maintainers to remember to run relevant tests.