3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

23840 commits

Author SHA1 Message Date
Evils 9cb2107476 nixos/fancontrol: restart on-failure 2021-11-02 09:24:31 +01:00
Sandro 0dbbf28f8d
Merge pull request #144106 from alyssais/qemu-kvm 2021-11-01 15:40:13 +01:00
Anderson Torres 83c3a8b356
Merge pull request #143708 from AndersonTorres/new-misc
ucg: rewrite tests
2021-11-01 11:23:42 -03:00
Michael Weiss 22fa348963
Merge pull request #144099 from primeos/nixos-tests-chromium
nixos/tests/chromium: Add a workaround to fix the test for M96+
2021-11-01 13:09:29 +01:00
Alyssa Ross e791519f0f
nixos/qemu-vm: use qemu_kvm
qemu_kvm is only built for one architecture, so it's smaller and takes
MUCH less time to build if it has to be built from source.  And this
module doesn't support running a VM for one architecture from another
architecture, so the one architecture is all we'll need.
2021-11-01 12:04:45 +00:00
Michael Weiss a188a74486
nixos/tests/chromium: Add a workaround to fix the test for M96+
Some upstream changes broke the automatic fallback to SwiftShader.
Without this workaround the GPU initialization fails (apparently due to requiring Vulkan):
machine # libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
machine # [1001:1001:1101/104304.000625:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
machine # [1052:1052:1101/104305.060496:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # [1084:1084:1101/104305.165898:ERROR:angle_platform_impl.cc(44)] Display.cpp:894 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1048.
machine # [1084:1084:1101/104305.171191:ERROR:gl_surface_egl.cc(782)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1048.
machine # [1084:1084:1101/104305.178707:ERROR:gl_surface_egl.cc(1382)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
machine # [1084:1084:1101/104305.180111:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
machine # [1084:1084:1101/104305.189760:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # [1092:1092:1101/104305.233470:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is

This workaround restores the previous result:
machine # [1004:1004:1101/104551.131190:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is swiftshader, ANGLE is

The workaround is only required for Chromium, not Google Chrome.
2021-11-01 12:19:28 +01:00
Maximilian Bosch f823249125
Merge pull request #144079 from xaverdh/linux-5.15
Linux 5.15
2021-11-01 11:29:59 +01:00
Dominik Xaver Hörl 256a798f82 nixos/kernel: test all upstream kernels, reference linuxKernel directly 2021-11-01 10:20:39 +01:00
Robert Hensing 0b0d2637fc Revert "nixos/specialisation: Rephrase in terms of extendModules, noUserModules"
This reverts commit e2bea4427b.

While this commit was probably fine, I want to be conservative
with changes right before the release branch-off.
So far the extendModules commits have been adding and refactoring
expressions that did not affect derivation hashes, whereas this
commit changes the module ordering. I will open a separate PR for
it.
2021-11-01 09:41:55 +01:00
Robert Hensing e2bea4427b nixos/specialisation: Rephrase in terms of extendModules, noUserModules 2021-11-01 09:40:16 +01:00
Robert Hensing 22584ce667 nixos/eval-config.nix: Expose type
Also works for (pkgs.nixos {}).type.
2021-11-01 09:38:49 +01:00
AndersonTorres dc4e3b543d ucg: rewrite tests
The tests can be easily done in the local machine, there is no necessity of
starting a virtual machine for them.
2021-10-31 21:25:12 -03:00
Sandro 487dd864e5
Merge pull request #143813 from iAmMrinal0/move/ammoniteTest 2021-10-31 23:21:11 +01:00
Sandro afa027591c
Merge pull request #143776 from iAmMrinal0/remove/awsCliTest 2021-10-31 23:20:43 +01:00
Sandro 33f7dd3cfd
Merge pull request #143620 from jtojnar/ppd 2021-10-31 22:48:45 +01:00
Robert Hensing c4eb2858ba
Merge pull request #144039 from Synthetica9/cifs-utils-test-remove
nixosTests.cifs-utils: remove
2021-10-31 22:15:37 +01:00
Sandro 89aa371808
Merge pull request #143745 from jwoudenberg/yubikey-agent-fixes 2021-10-31 21:56:56 +01:00
Patrick Hilhorst 4fa7ac22c4
nixosTests.cifs-utils: remove
It was broken on all counts and not included in all-tests.nix, so it was never really executed anyways.
2021-10-31 21:51:01 +01:00
Guillaume Girol 9545fade8b
Merge pull request #142743 from symphorien/ihm-5-dev-2
python3.pkgs.ihatemoney: 4.2 -> 5.1.1
2021-10-31 19:32:40 +00:00
Robert Hensing 3028246ac0
Merge pull request #144014 from hercules-ci/fix-nixosTest-infinite-recursion
nixosTest: Fix infinite recursion involving hasContext testScript whe…
2021-10-31 18:49:05 +01:00
Robert Hensing 56c4f9d005 nixosTest: Fix infinite recursion involving hasContext testScript when useNixStoreImage = true
The involved test was nixosTests.nextcloud.basic21.

It has a testScript that is strict in nodes.nextcloud.config.system.build.vm,
in assertions about imagemagick being in the system closure.

The recursion was introduced in 329a4461a7 from
https://github.com/NixOS/nixpkgs/pull/140792
2021-10-31 18:25:19 +01:00
Maximilian Bosch aaeba3c577
Merge pull request #143840 from maralorn/nextcloud-cron
nixos/nextcloud: Adapt cron frequency to changed upstream requirement
2021-10-31 15:50:47 +01:00
Robert Hensing 67e9f0551f
Merge pull request #144001 from hercules-ci/fix-nixos-release-eval-test-ghostunnel
nixos/tests/ghostunnel.nix: Fix eval as invoked by release.nix
2021-10-31 15:41:10 +01:00
Robert Hensing e4e3fbe8aa nixos/tests/ghostunnel.nix: Fix eval as invoked by release.nix
Worked fine with nixosTests.
2021-10-31 15:35:02 +01:00
Jan Tojnar ef02a97f27
Merge pull request #142865 from jansol/master
pipewire: 0.3.38 -> 0.3.39
2021-10-31 15:32:20 +01:00
Robert Hensing 78cf2dda33 nixosTests.nixops: Fix deprecation warning 2021-10-31 13:36:14 +01:00
Luke Granger-Brown 13fad0f81b nixos/systemd-boot: create boot entries for specialisations
Some specialisations (such as those which affect various boot-time
attributes) cannot be switched to at runtime. This allows picking the
specialisation at boot time.
2021-10-31 11:36:15 +00:00
Mario Rodas 984c59161a
Merge pull request #143808 from iAmMrinal0/move/lsdTest
lsd: move nixos test to installCheckPhase
2021-10-30 22:31:41 -05:00
Evils 788920fcdf nixosTests.rasdaemon: init module test
and passthru test in the package
2021-10-30 22:22:12 -04:00
Evils e14378789c nixos/rl-2111: add new service: rasdaemon 2021-10-30 22:22:12 -04:00
Evils b6ff276fb1 nixos/rasdaemon: init module 2021-10-30 22:22:12 -04:00
illustris 185e6a477a sssd: 1.16.5 -> 2.6.0, fix broken build 2021-10-30 09:48:28 -07:00
Artturi 564ea1b19a
Merge pull request #137677 from Artturin/nixosenterresolv 2021-10-30 19:27:29 +03:00
Artturin 9145f833cc nixos/nixos-enter: bind mount /etc/resolv.conf to chroot 2021-10-30 18:46:14 +03:00
Simon Bruder fa0bfdbe09
nixos/invidious: add test 2021-10-30 16:33:38 +02:00
Silvan Mosberger f1447fdaa8
nixos/invidious: init
Co-authored-by: Simon Bruder <simon@sbruder.de>
2021-10-30 16:33:38 +02:00
Jan Tojnar bb9ea6763d nixosTests.installed-tests.power-profiles-daemon: init 2021-10-30 14:45:37 +02:00
Malte Brandy 868157b9d6
nixos/nextcloud: Adapt cron frequency to changed upstream requirement
https://docs.nextcloud.com/server/22/admin_manual/configuration_server/background_jobs_configuration.html

Says that the job should be run every 5 minutes.
Nextcloud shows a warning in the settings screen whenever the last run
was more than 10 minutes ago.
2021-10-30 14:22:22 +02:00
Maximilian Bosch bd2411b1d7
Merge pull request #143768 from iAmMrinal0/remove/batTest
bat: move nixos test to installCheckPhase
2021-10-30 12:55:29 +02:00
Mario Rodas e49cd51ebc
Merge pull request #142672 from truh/update/plantuml-server_1.2021.12
plantuml-server: 1.2021.7 -> 1.2021.12
2021-10-30 04:44:16 -05:00
Mrinal Purohit 9e431da515 ammonite: move nixos test to installCheckPhase 2021-10-30 14:13:42 +05:30
Mrinal Purohit ff2ad64353 lsd: move nixos test to installCheckPhase 2021-10-30 13:34:09 +05:30
Ryan Burns 8793bbc759
Merge pull request #141557 from kvark/patch-1
Add command to switch to root to the installation guide
2021-10-29 23:47:34 -07:00
happysalada a8f9539d01 lemmy: systemd postgresql setup service cleanup 2021-10-30 09:16:09 +09:00
Mrinal Purohit 948727d872 awscli: move nixos test to installCheckPhase 2021-10-30 04:56:28 +05:30
Mrinal Purohit f88695d009 bat: move nixos test to installCheckPhase 2021-10-30 04:24:48 +05:30
Jasper Woudenberg 810b3b5fcd nixos/yubikey-agent add maintainer jwoudenberg 2021-10-29 23:13:50 +02:00
Jasper Woudenberg 4ceb33b982 nixos/yubikey-agent: start enabled agent on boot
This adds a `wantedBy` clause to the user systemd service for
yubikey-agent, to ensure an enabled agent is started on boot. This
brings the behavior inline with existing documentation.

If the user has selected a graphical pinentry program, then we need to
wait for the graphical environment to exist before starting the
yubikey-agent. I've found that if we start the agent earlier it will
fail when we perform an ssh command later.
2021-10-29 23:13:46 +02:00
Maximilian Bosch a1eaddd5c5
Merge pull request #139472 from Flakebi/signald
signald: 0.13.1 -> 0.14.1 and add service
2021-10-29 23:09:43 +02:00
Flakebi cb5186feea
signald: add module
Based on https://gitlab.com/coffeetables/myrdd/-/blob/master/modules/signald.nix
2021-10-29 22:48:10 +02:00