Commit Graph

325924 Commits

Author SHA1 Message Date
talyz
2781f84bce discourse.tests: Improve test performance
Massively reduce the time it takes running the test by building a
proper root disk image and increasing the virtualized core count to
4. This should make it much easier for the tests to pass even on
weaker systems.

With my laptop (AMD Ryzen 7 PRO 2700U, 32GB RAM) as the reference
system, I see the following test run times:

- No change:
  25 mins, 49 secs

- Building a root image:
  4 mins, 44 secs

- Building a root image and bumping the core count:
  3 mins, 6 secs

The times include the time it takes to build the image (~40 secs).
2021-10-28 12:55:01 +02:00
talyz
329a4461a7 nixos/testing-python: Copy test script derivations to nodes
Make sure the all derivations referenced by the test script are
available on the nodes. Accessing these derivations works just fine
without this change when using 9p to mount the host's store, but when
an image is built (virtualisation.buildRootImage), the dependencies
need to be copied to the image. We don't want to copy the script
itself, though, since that would trigger unnecessary image rebuilds.
2021-10-28 12:55:01 +02:00
talyz
aa22fa9c0b trivial-builders: Add writeStringReferencesToFile
Add writeStringReferencesToFile, a builder which extracts a string's
references to derivations and paths and writes them to a text file,
removing the input string itself from the dependency graph. This is
useful when you want to make a derivation depend on the string's
references, but not its content (to avoid unnecessary rebuilds, for
example).
2021-10-28 12:55:01 +02:00
talyz
af9f6d9a2a nixos/qemu-vm: Rename pathsInNixDB to additionalPaths
pathsInNixDB isn't a very accurate name when a Nix store image is
built (virtualisation.useNixStoreImage); rename it to additionalPaths,
which should be general enough to cover both cases.
2021-10-28 12:55:01 +02:00
talyz
84839b395f nixos/qemu-vm: Allow building a Nix store image instead of using 9p
Add the `useNixStoreImage` option, allowing a disk image with the
necessary contents from the Nix store to be built using
make-disk-image.nix. The image will be mounted at `/nix/store` and
acts as a drop-in replacement for the usual 9p mounting of the host's
Nix store.

This removes the performance penalty of 9p, drastically improving
execution speed of applications which do lots of reads from the Nix
store. The caveats are increased disk space usage and image build
time.
2021-10-28 12:55:01 +02:00
talyz
87d8eec069 make-disk-image: Add additionalPaths argument
Add an argument which makes it possible to add additional paths to the
image's nix store.
2021-10-28 12:55:01 +02:00
talyz
398a73ac98 make-disk-image: Add copyChannel argument
Add a copyChannel argument which controls whether the current source
tree will be made available as a nix channel in the image or
not. Previously, it always was. Making it available is useful for
interactive use of nix utils, but changes the hash of the image when
the sources are updated.
2021-10-28 12:55:01 +02:00
talyz
56c5efa25b make-disk-image: Reintroduce the installBootLoader argument
installBootLoader was removed in
f1708a9d7d79e2bf2961fc648625578b23b3460f; probably by mistake, since
only the logic was removed, not the argument.
2021-10-28 12:55:01 +02:00
R. Ryantm
b7c19f700d tz: 0.5 -> 0.6.1 2021-10-28 10:53:42 +00:00
Sandro
7f3494b343
Merge pull request #143330 from Ma27/bump-lnav 2021-10-28 11:51:20 +02:00
Nikolay Korotkiy
89707c93aa
pcalc: enable on darwin 2021-10-28 12:47:11 +03:00
Sandro
bc329d66d9
Merge pull request #143263 from r-ryantm/auto-update/yubikey-manager-qt 2021-10-28 11:40:35 +02:00
Sandro
1d1af5674a
Merge pull request #143337 from r-ryantm/auto-update/python3.8-phonopy 2021-10-28 11:39:51 +02:00
Maximilian Bosch
cb788cef50
gitea: 1.15.5 -> 1.15.6
ChangeLog: https://github.com/go-gitea/gitea/releases/tag/v1.15.6
2021-10-28 11:35:58 +02:00
Robert Schütz
9ce555e0af newsboat: 2.24 -> 2.25
https://github.com/newsboat/newsboat/releases/tag/r2.25
2021-10-28 11:29:51 +02:00
Sandro
2207e2d15c
Merge pull request #143335 from r-ryantm/auto-update/terraform-ls 2021-10-28 11:28:29 +02:00
Sandro Jäckel
a0dba13ede
python39Packages.dogpile-core: normalise name 2021-10-28 11:11:53 +02:00
Sandro Jäckel
71ed943a86
python39Packages.imapclient: normalise name 2021-10-28 11:11:53 +02:00
Sandro Jäckel
2b218f52c8
python39Packages: normalise aliases and add missing comments 2021-10-28 11:11:52 +02:00
Sandro Jäckel
846ceff3b3
python39Packages.sqlalchemy-migrate: normalise attr 2021-10-28 11:11:52 +02:00
Sandro Jäckel
db19e68125
python39Packages.dogpile-cache: normalise attr, cleanup 2021-10-28 11:11:52 +02:00
Sandro
fe948d29fe
Merge pull request #142793 from helsinki-systems/upd/gcc8 2021-10-28 11:06:56 +02:00
R. Ryantm
4effa2569a python38Packages.phonopy: 2.11.0 -> 2.12.0 2021-10-28 09:05:45 +00:00
R. Ryantm
252b473145 terraform-ls: 0.22.0 -> 0.23.0 2021-10-28 09:04:40 +00:00
Michael Raskin
27fa530791
Merge pull request #143266 from r-ryantm/auto-update/xscreensaver
xscreensaver: 6.01 -> 6.02
2021-10-28 09:02:33 +00:00
Sandro Jäckel
dded550fcd
doc: fix typo 2021-10-28 10:48:34 +02:00
Maximilian Bosch
a97c084633
lnav: 0.10.0 -> 0.10.1
ChangeLog: https://github.com/tstack/lnav/releases/tag/v0.10.1
Closes #140591
2021-10-28 10:32:32 +02:00
Alexander Nortung
44ef047ef6 session-desktop-appimage: 1.7.3 -> 1.7.4 2021-10-28 10:18:11 +02:00
Fabian Affolter
89707a1148 python3Packages.gvm-tools: 21.6.1 -> 21.10.0 2021-10-28 09:25:52 +02:00
Fabian Affolter
19b87ec97d
Merge pull request #143101 from fabaff/bump-aionotion
python3Packages.aionotion: 3.0.2 -> 2021.10.0
2021-10-28 09:21:25 +02:00
Fabian Affolter
118d3f046c
Merge pull request #143107 from fabaff/bump-aiowatttime
python3Packages.aiowatttime: 0.1.1 -> 2021.10.0
2021-10-28 09:21:06 +02:00
Fabian Affolter
314327e922
Merge pull request #143105 from fabaff/bump-aioridwell
python3Packages.aioridwell: 0.2.0 -> 2021.10.0
2021-10-28 09:20:29 +02:00
Ivan Kovnatsky
9d16f56a8b
rbw: 1.3.0 -> 1.4.0 2021-10-28 10:19:17 +03:00
Ivan Kovnatsky
f88653b156
rbw: Apply nixpkgs-fmt 2021-10-28 10:18:19 +03:00
Pavol Rusnak
2deb07f3ac
Merge pull request #143289 from TredwellGit/electron_13
electron_13: 13.6.0 -> 13.6.1
2021-10-28 08:52:43 +02:00
superherointj
40bad15b21 ocamlPackages.dune-site: init 2.9.1 2021-10-28 08:27:32 +02:00
Vincent Laporte
c535db45ce ocamlPackages.cppo: 1.6.7 → 1.6.8 2021-10-28 07:31:58 +02:00
Mario Rodas
8652402ac5
Merge pull request #143283 from marsam/update-flexget
flexget: 3.1.140 -> 3.1.148
2021-10-27 23:17:37 -05:00
Mario Rodas
3620d3cfad
Merge pull request #143284 from bew/update-delta
delta: 0.8.3 -> 0.9.1
2021-10-27 23:13:44 -05:00
Ryan Mulligan
e90256769b
Merge pull request #143275 from TredwellGit/discourse
[CVSS 10.0] discourse: 2.7.8 -> 2.7.9
2021-10-27 20:37:28 -07:00
TredwellGit
b77b452186 electron_13: 13.6.0 -> 13.6.1
https://github.com/electron/electron/releases/tag/v13.6.1
2021-10-28 03:18:15 +00:00
Benoit de Chezelles
631baa9ab9 delta: 0.8.3 -> 0.9.1 2021-10-28 04:53:28 +02:00
Mario Rodas
46905d953d flexget: 3.1.140 -> 3.1.148 2021-10-27 21:52:23 -05:00
figsoda
9ac19963f8
Merge pull request #143158 from r-ryantm/auto-update/pipreqs
pipreqs: 0.4.10 -> 0.4.11
2021-10-27 22:46:07 -04:00
figsoda
a07f175971
Merge pull request #143249 from dan4ik605743/gd-up
github-desktop: 2.9.3 -> 2.9.4
2021-10-27 22:42:09 -04:00
figsoda
819cb07025
Merge pull request #143245 from r-ryantm/auto-update/ansible-lint
ansible-lint: 5.2.0 -> 5.2.1
2021-10-27 22:38:40 -04:00
rewine
99494ca98d
tdlib: 1.7.0 -> 1.7.8 (#143176) 2021-10-27 22:35:23 -04:00
figsoda
3cd6a65dd2
Merge pull request #143257 from r-ryantm/auto-update/zoxide
zoxide: 0.7.7 -> 0.7.8
2021-10-27 22:31:14 -04:00
figsoda
08802c8652
Merge pull request #143271 from r-ryantm/auto-update/angle-grinder
angle-grinder: 0.17.0 -> 0.18.0
2021-10-27 22:27:01 -04:00
figsoda
91bd398017
Merge pull request #143261 from r-ryantm/auto-update/yq-go
yq-go: 4.13.2 -> 4.13.5
2021-10-27 22:19:52 -04:00