Commit graph

325839 commits

Author SHA1 Message Date
talyz
46f7521144 make-disk-image: Add an argument to only build a Nix store image
Add the `onlyNixStore` argument which enables building images
containing the contents of the Nix store at the root, instead of a
full system.
2021-10-28 12:55:01 +02:00
talyz
ed2497b405 gitlab.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) as the reference system, I see
the following test run times:

- No change:
  Times out after 28 mins

- Building a root image:
  7 mins, 48 secs

- Building a root image and bumping the core count:
  7 mins, 17 secs

The times include the time it takes to build the image
(~1 min, 20 secs).
2021-10-28 12:55:01 +02:00
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
Sandro
7f3494b343
Merge pull request #143330 from Ma27/bump-lnav 2021-10-28 11:51:20 +02: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
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
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
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
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
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
TredwellGit
44ffcb8362 discourse: 2.7.8 -> 2.7.9
https://nvd.nist.gov/vuln/detail/CVE-2021-41163
2021-10-28 01:56:09 +00:00
R. Ryantm
ba55036722 angle-grinder: 0.17.0 -> 0.18.0 2021-10-28 01:50:09 +00:00
R. Ryantm
8ff3aad7fe xscreensaver: 6.01 -> 6.02 2021-10-28 01:38:04 +00:00
Dmitry Kalinkin
aee0764296
Merge pull request #142921 from veprbl/pr/pyjet_1_8_2
python3Packages.pyjet: 1.6.0 -> 1.8.2
2021-10-27 21:35:51 -04:00
R. Ryantm
14d3b5fd01 img2pdf: 0.4.2 -> 0.4.3 2021-10-27 21:35:05 -04:00
R. Ryantm
6366a136e3 yubikey-manager-qt: 1.2.3 -> 1.2.4 2021-10-28 01:01:48 +00:00
R. Ryantm
ec1463beb6 yq-go: 4.13.2 -> 4.13.5 2021-10-28 00:56:07 +00:00
R. Ryantm
572dcd44a1 zoxide: 0.7.7 -> 0.7.8 2021-10-28 00:45:19 +00:00
Bobby Rong
8e440f1776
Merge pull request #142810 from bobby285271/pantheon
Pantheon updates 2021-10-25, 2021-10-26
2021-10-28 08:16:34 +08:00
R. Ryantm
c5d7412630 ansible-lint: 5.2.0 -> 5.2.1 2021-10-27 23:36:13 +00:00
R. Ryantm
8f6f42bd36 python38Packages.flask-paginate: 0.8.1 -> 2021.10.26 2021-10-27 15:57:23 -07:00