1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/nixos/modules
Andreas Rammhold 7508490770
nixos/test: remove the stateVersion statement from the test-instrumentation
We set stateVersion to `mkDefault 18.03` in
`nixos/modules/testing/test-instrumentation.nix` and in
`modules/installer/cd-dvd/installation-cd-base.nix`.

Accessing the stateVersion in the module system from within the tests
results in the following error:
> The unique option `system.stateVersion' is defined multiple times, in
> `nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-base.nix' and
> `nixpkgs/nixos/modules/testing/test-instrumentation.nix'.

There are other tests that use it as well. Namely the radicale test also
verifies behaviour between state versions is as expected. It switches a
package default value. Others switched on the state directory default.
It seems like having the timesyncd switch as part of every rendered
activationScript might cause this weird error.

Removing this line seems like a reasonable thing to do since we actually
set the default to the very same value in the module system. This line
should have been no-op besides the issue that we've two statements
setting it in this very specific case.
2019-06-03 15:05:24 +02:00
..
config nixos/xdg/mime: disable fdatasync when building the XDG MIME database 2019-05-25 21:00:25 -07:00
hardware nixos/all-firmware: Enable facetimehd only for i686/x86_64 2019-05-06 10:49:42 +02:00
i18n/input-method docs: format 2018-09-29 20:51:11 -04:00
installer Merge pull request #60207 from volth/patch-329 2019-05-22 15:32:00 +03:00
misc nixos/misc: warn when someone is using the nixops autoLuks module 2019-06-03 15:05:23 +02:00
profiles nixos/hardened: use graphene-hardened malloc by default 2019-05-07 13:45:39 +02:00
programs Merge pull request #60406 from JohnAZoidberg/remove-isnull 2019-05-18 09:36:24 +00:00
security FIx some malformed XML in option descriptions 2019-05-13 09:15:17 +02:00
services nixos/udev: switch networking.usePredicatableInterfaceNames to a kernel param 2019-06-03 15:05:12 +02:00
system nixos/systemd: migrate systemd-timesync state when required 2019-06-03 15:05:19 +02:00
tasks nixos/networkd: rename GatewayOnlink to GatewayOnLink 2019-06-03 15:05:17 +02:00
testing nixos/test: remove the stateVersion statement from the test-instrumentation 2019-06-03 15:05:24 +02:00
virtualisation nixos/modules/virtualisation/google-compute-config.nix: pin filesystem type to ext4 for now 2019-05-27 14:15:02 +08:00
module-list.nix nixos/misc: warn when someone is using the nixops autoLuks module 2019-06-03 15:05:23 +02:00
rename.nix winstone: drop package and service 2019-05-15 20:30:48 +02:00