| Commit message (Collapse) | Author | Age |
| |
|
|\ |
|
| |
| |
| |
| | |
Regression from #50674. Section IDs cannot contain spaces.
|
| |
| |
| |
| | |
The link doesn’t work and it’s not very important to the documentation anyway.
|
| |
| |
| |
| |
| | |
This makes things more consistent. It’s also how GitHub refers to pull
requests.
|
| |
| |
| |
| | |
More cleanups and stuff. May need to be split up.
|
| |
| |
| |
| | |
xcbuild doesn’t work exactly like xcode in some ways.
|
| |
| |
| |
| | |
Lots of reworking here. May need to be split up.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Here I document setup hooks provided by:
- cmake
- xcbuildHook
- meson
- ninja
- unzip
- wafHook
- scons
|
| |
| |
| |
| | |
This seems like a useful thing to document
|
| |
| |
| |
| | |
This makes more sense in context.
|
| | |
|
| | |
|
|\| |
|
| |\ |
|
| | | |
|
|\| | |
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | | |
nixpkgs idris docs: Update and improve
|
| | |/ |
|
|\| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Nix currently rejects derivations in `meta` values. This works around
that limitation by using `passthru` instead.
Closes https://github.com/NixOS/nixpkgs/issues/50230
|
| | |
| | |
| | |
| | | |
Its job is already handled by `requiredSystemFeatures`
|
|\| | |
|
| |/
| |
| |
| | |
The default for `python3` is currently `python36`.
|
|\| |
|
| |\
| | |
| | | |
buildDunePackage: add support function and use it in a few packages
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
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).
|
| |\
| | |
| | | |
[RFC] Use `meta.tests` to link from packages to the tests that test them
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Python 3.4 will receive it's final patch release in March 2019 and there won't
be any releases anymore after that, so also not during NixOS 2019.03.
Python 3.4 is not used anymore in Nixpkgs. In any case, migrating code from
3.4 to 3.4+ is trivial.
|
|\| |
| | |
| | |
| | | |
Conflict: rename of pythondaemon -> python-daemon.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This commit renames the pythondaemon module to match its module name, github
name, and pypi name, which makes it easier to find and reference. In order to
avoid breaking any external users, I've left an alias with a deprecated warning.
|
|\ \ \ |
|
| |\| | |
|
| | |/ |
|
|\| | |
|
| |\| |
|
| | | |
|
| | | |
|
| | |\
| | | |
| | | | |
minor fixes in Nixpkgs stdenv docs
|
| | | | |
|
| | | | |
|
| | |\ \
| | | |/
| | |/| |
clarifying `name` arg determines vim command name
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `name` arg of `vim_configurable.customize` does not only determine
the package name, but also the name of the command/ executable to be
called.
In my opinion this is not documented properly and finding that out took
me several hours.
|
| | |\ \
| | | |/
| | |/| |
breakpointHook: add for debugging failing builds
|