Commit graph

158964 commits

Author SHA1 Message Date
Léo Gaspard 2986ce16a8
meta.tests: rename into passthru.tests
Nix currently rejects derivations in `meta` values. This works around
that limitation by using `passthru` instead.

Closes https://github.com/NixOS/nixpkgs/issues/50230
2018-11-11 23:11:46 +09:00
Léo Gaspard cae5598611
meta.tests: drop meta.needsVMSupport
Its job is already handled by `requiredSystemFeatures`
2018-11-11 23:11:46 +09:00
Léo Gaspard aade4e577b
tests: disable some broken tests and/or restrict to x86_64 2018-11-11 23:11:46 +09:00
Léo Gaspard 83b27f60ce
tests: split into a separate all-tests.nix file
This will make the list much easier to re-use, eg. for `nixosTests`

The drawback is that this approaches makes the
```
nix-build release.nix -A tests.opensmtpd.x86_64-linux
```
command about twice as slow (3s to 6s): it now has to evaluate `nixpkgs`
once for each architecture, instead of just having the hardcoded list of
tests that allowed to say “ok just evaluate for x86_64-linux”.

On the other hand, complete evaluation of `release.nix` should be much
faster because we no longer import `nixpkgs` for each test: testing with
the following command went from 30s to 18s, and that's just for a few
tests.
```
time nix-instantiate --eval --strict nixos/release.nix -A tests.nat
```
I initially wanted to test on the whole `release.nix`, but there are too
many broken tests and it takes too long to eval them all, especially
compared to the fact that the current implementation breaks some setup.

Given developers can just `nix-build nixos/tests/my-test.nix`, it sounds
like an overall win.
2018-11-11 23:11:46 +09:00
Léo Gaspard 6c68fbd4e1
tests: refactor to carry the package set as an argument
This way, the package set will be possible to pass without re-importing
all the time
2018-11-11 23:11:45 +09:00
Silvan Mosberger 921b63134a
Merge pull request #50215 from volth/patch-285
gnum4: set platforms=all; it works on Windows
2018-11-11 14:55:26 +01:00
Peter Simons 4fc8527697 dovecot, opensmtpd: comment out invalid meta.tests attribute
See https://github.com/NixOS/nixpkgs/issues/50230 for details.
2018-11-11 14:02:20 +01:00
markuskowa e9aec8ccab
Merge pull request #50095 from r-ryantm/auto-update/gocr
gocr: 0.51 -> 0.52
2018-11-11 13:33:39 +01:00
Edward Tjörnhammar 888d01da48
nixos/minetest fix: add missing uid/gid for minetest 2018-11-11 12:47:09 +01:00
Edward Tjörnhammar d598672020
minecraft-server: 1.12.2 -> 1.13.2 2018-11-11 12:47:09 +01:00
Edward Tjörnhammar 8ff9e78dc1
minetest: 0.4.16 -> 0.4.17 2018-11-11 12:47:09 +01:00
Edward Tjörnhammar 3ba7d2ae01
zangband: 2.7.3 -> 2.7.4b
With minor fixups but marking as broken since the game doesn't progress
after character generation.
2018-11-11 12:47:09 +01:00
Edward Tjörnhammar ba35b5971c
i2pd: 2.21.1 -> 2.22.0 2018-11-11 12:47:09 +01:00
Niklas Thörne 0a7d20ece5 uftrace: 0.9 -> 0.9.1 (#50228) 2018-11-11 12:15:06 +01:00
Jörg Thalheim 8905ca4d71
Merge pull request #50219 from worldofpeace/wire-desktop/no-explicit-phases
wire-desktop: don't explicitly set phases
2018-11-11 11:06:28 +00:00
Jörg Thalheim 290eb75678
Merge pull request #50224 from volth/sed-windows
gnused: fix Windows build
2018-11-11 10:53:04 +00:00
Sarah Brofeldt 7e345e064b
Merge pull request #50227 from nyanloutre/spaceship-prompt-fix
spaceship-prompt: correct homepage url
2018-11-11 11:11:55 +01:00
Sarah Brofeldt 2aa9d3ac31
Merge pull request #49775 from eadwu/vscode-extensions.ms-python.python/2018.9.2
vscode-extensions.ms-python.python: 2018.9.1 -> 2018.10.1
2018-11-11 11:03:44 +01:00
Robert Schütz 879789666f python.pkgs.py3status: 3.13 -> 3.14 2018-11-11 11:01:10 +01:00
nyanloutre fb3d15c34c
spaceship-prompt: correct homepage url 2018-11-11 10:53:51 +01:00
Sebastien Maret 880fae6a08 matplotlib: 2.2.3 -> 3.0.2
Python 3 will use the new matplotlib 3.x while Python 2
will use 2.x.

matplotlib: keep 2.2.3 for Python2k
2018-11-11 10:14:25 +01:00
Frederik Rietdijk 961180afc8 scour: call via python-packages.nix 2018-11-11 09:54:28 +01:00
Maximilian Bosch 3c4f70996e s/propogatedBuildInputs/propagatedBuildInputs 2018-11-11 08:39:19 +01:00
Jethro Kuan 0a82eb4377 change to propogatedBuildInputs 2018-11-11 08:39:19 +01:00
Jethro Kuan 3723b2d8ab remove absl-py, change to buildInputs 2018-11-11 08:39:19 +01:00
Jethro Kuan 5165ecb7f6 remove tests
PyPI archive does not contain tests
2018-11-11 08:39:19 +01:00
Jethro Kuan c98731b8fa don't propogate tensorflow 2018-11-11 08:39:19 +01:00
Jethro Kuan 2b4a70d21e remove withTensorflow option 2018-11-11 08:39:19 +01:00
Maximilian Bosch 32d8215a58 fix eval 2018-11-11 08:39:19 +01:00
Jethro Kuan 78e557806e add option to build without Tensorflow 2018-11-11 08:39:19 +01:00
Jethro Kuan f11cd8165d fix maintainer 2018-11-11 08:39:19 +01:00
Jethro Kuan baeb8bd5a7 gin-config: init 2018-11-11 08:39:19 +01:00
volth 9d164580ba gnused: fix Windows build 2018-11-11 06:58:15 +00:00
Michael Raskin 0ae3b49bb4
Merge pull request #50175 from r-ryantm/auto-update/btrfs-progs
btrfs-progs: 4.17.1 -> 4.19
2018-11-11 06:34:34 +00:00
Orivej Desh bad54d8704 gargoyle: 2017-08-27 -> 2018-10-06 2018-11-11 03:42:39 +00:00
Orivej Desh (NixOS) 59ddb14543
Merge pull request #50216 from orivej/dosbox
dosbox: 0.74 -> 0.74-2
2018-11-11 03:09:27 +00:00
worldofpeace 48a3ea0f81 wire-desktop: don't explicitly set phases
part of #28910
2018-11-10 22:01:44 -05:00
Jan Tojnar cf7e7127c5
Merge pull request #48270 from Melkor333/wpgtk
wpgtk: init at 5.7.4
2018-11-11 04:01:24 +01:00
Edmund Wu c4cb982772
vscode-extensions.ms-python.python: 2018.9.1 -> 2018.10.1 2018-11-10 22:00:24 -05:00
Orivej Desh 65e0b5c725 dosbox: 0.74 -> 0.74-2 2018-11-11 02:42:33 +00:00
Orivej Desh b3e2a48453 SDL_sound: enable on Darwin 2018-11-11 02:42:33 +00:00
Silvan Mosberger 316ad96256
Merge pull request #50210 from aanderse/incron
nixos/incron: added nixos test to ensure expected behaviour
2018-11-11 03:37:10 +01:00
Jan Tojnar 3bf5411996
Merge pull request #50171 from r-ryantm/auto-update/appstream-glib
appstream-glib: 0.7.13 -> 0.7.14
2018-11-11 02:59:45 +01:00
Aaron Andersen 24af0bc2b5 nixos/incron: added nixos test to ensure expected behaviour 2018-11-10 20:54:10 -05:00
Silvan Mosberger 9e8eea0f78
Merge pull request #50108 from r-ryantm/auto-update/gImageReader
gImageReader: 3.2.99 -> 3.3.0
2018-11-11 02:48:40 +01:00
Silvan Mosberger 32cbcbf179
Merge pull request #50018 from Ma27/init-up
up: init at 0.3.1
2018-11-11 02:46:03 +01:00
Silvan Mosberger 2dd37688e3
Merge pull request #50086 from r-ryantm/auto-update/kakoune-unstable
kakoune: 2018.09.04 -> 2018.10.27
2018-11-11 02:45:18 +01:00
volth 31beea9818
gnum4: set platforms=unix++windows 2018-11-11 01:42:40 +00:00
Silvan Mosberger 87377a259d
Merge pull request #49960 from r-ryantm/auto-update/python3.6-texttable
python36Packages.texttable: 1.4.0 -> 1.5.0
2018-11-11 02:23:02 +01:00
Silvan Mosberger 4e375d0976
Merge pull request #49957 from r-ryantm/auto-update/python3.6-selenium
python36Packages.selenium: 3.14.1 -> 3.141.0
2018-11-11 02:22:45 +01:00