summary refs log tree commit diff
path: root/doc/meta.xml
Commit message (Collapse)AuthorAge
* 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.
* doc: ran `make format`Samuel Dionne-Riel2018-05-31
| | | | With visual inspection that nothing got worse.
* doc: use "with stdenv.lib" in metaDmitry Kalinkin2018-05-22
|
* nixpkgs docs: format =)Graham Christensen2018-05-01
|
* meta: fix fallout from #36275Matthew Bauer2018-03-18
|
* lib, treewide: Add missing MIPS arches, and fix existing usageDaniel Barlow2018-02-23
| | | | | | | | | Existing "mips64el" should be "mipsel". This is just the barest minimum so that nixpkgs can recognize them as systems - although required for building individual derivations onto MIPS boards, it is not sufficient if you want to actually build nixos on those targets
* nixpkgs manual : clearer meta.platforms descriptionRenaud2017-11-04
| | | | Refer to doubles.nix for a list of common platforms types used in packages
* nixpkgs manual: Fix license strings docsFranz Pletz2016-02-24
| | | | | | | | | | | The wrong usage of unfree-redistributable fixed in ea242619fb0028f830238a0fa1b19277d14508ff can be explaind by unclear documention, specifically the section in the nixpkgs manual describing generic licenses it is written to use attributes from `stdenv.lib.licenses` but in the list the strings form was documented without quotation marks. This confuses people because the package builds fine locally but failes the tests on travis-ci.
* doc/meta.xml: don't encourage users to add a meta.version attributePeter Simons2016-01-05
| | | | | | | That attribute is completely redundant since it just duplicates information from "name". Cc: @7c6f434c who added that section in e39b1f4ec8740e7dd34185c38464db5ac814eed5.
* doc: --meta is not needed in the presence of --jsonPascal Wittmann2015-11-29
|
* hello/ex-2 -> helloEelco Dolstra2015-09-22
|
* Document the different license base casesEdward Tjörnhammar2015-06-28
|
* doc: add section idsPascal Wittmann2015-05-31
| | | | | This commit also use enforces consistent use of the prefixes "sec" for section and "ssec" for subsection.
* Document meta.branchMichael Raskin2014-10-07
|
* Add a few meta-attribute descriptions; rewrite the meta-attribure list ↵Michael Raskin2014-09-03
| | | | description to mean that it is expected that all used meta-attributes are described in the manual.
* meta.xml: fixed small omissionJaka Kranjc2014-08-24
|
* Nixpkgs manual: Fix validityEelco Dolstra2014-08-24
|
* doc/meta.xml: fix github links, clarify licensing sectionVladimír Čunát2014-07-30
|
* fix manual buildDomen Kožar2014-07-27
|
* doc: change one occurance of --xml to --jsonDomen Kožar2014-07-27
|
* doc: explain when hydra builds the packageDomen Kožar2014-07-27
|
* remove documentation on non-unfree licenses, nobody maintains itDomen Kožar2014-07-27
|
* doc: modernize meta attributes documentationDomen Kožar2014-07-27
|
* doc: meta.xml -- fix a typoRamakrishnan Muthukrishnan2014-04-14
|
* Only show/build a package on the platforms listed in meta.platformsEelco Dolstra2013-11-05
| | | | | | | | | | | | | | | | | | The function ‘mkDerivation’ now checks whether the current platform type is included in a package's meta.platform field. If not, it throws an exception: $ nix-build -A linux --argstr system x86_64-darwin error: user-thrown exception: the package ‘linux-3.10.15’ is not supported on ‘x86_64-darwin’ These packages also no longer show up in ‘nix-env -qa’ output. This means, for instance, that the number of packages shown on x86_64-freebsd has dropped from 9268 to 4764. Since meta.platforms was also used to prevent Hydra from building some packages, there now is a new attribute meta.hydraPlatforms listing the platforms on which Hydra should build the package (which defaults to meta.platforms).
* Allow packages to be marked as "broken" by setting meta.brokenEelco Dolstra2013-11-04
| | | | The effect is that they won't show up in "nix-env -qa" anymore.
* Lots of Perl package updatesEelco Dolstra2013-01-19
|
* Remove all svn referencesRob Vermaas2012-09-04
|
* svn path=/nixpkgs/branches/xorg-7.5/; revision=18032Eelco Dolstra2009-10-29
|
* svn path=/nixpkgs/branches/xorg-7.5/; revision=18028Eelco Dolstra2009-10-29
|
* * Fontconfig updated to 2.7.3. Use /etc/fonts as the defaultEelco Dolstra2009-10-29
| | | | | | | | | configuration directory so that users on other distributions don't need to set $FONTCONFIG_FILE (NIXPKGS-29). Also use /var/cache/fontconfig for the cache to prevent programs run by root from writing into the Nix store. svn path=/nixpkgs/branches/xorg-7.5/; revision=18021
* svn path=/nixpkgs/trunk/; revision=16257Eelco Dolstra2009-07-08
|
* svn path=/nixpkgs/trunk/; revision=14311Eelco Dolstra2009-03-03
|
* * Started documenting the meta attributes, including a firstEelco Dolstra2009-02-10
(very incomplete) attempt at standardising the license attribute. svn path=/nixpkgs/trunk/; revision=14028