···218 build-vms = import ./build-vms.nix {
219 inherit system lib pkgs minimal specialArgs;
220 extraConfigurations = extraConfigurations ++ [(
0221 {
222 virtualisation.qemu.package = qemu_pkg;
223···230 # copied to the image.
231 virtualisation.additionalPaths =
232 lib.optional
233- (builtins.hasContext testScript')
0000000000234 (pkgs.writeStringReferencesToFile testScript');
235236 # Ensure we do not use aliases. Ideally this is only set
···218 build-vms = import ./build-vms.nix {
219 inherit system lib pkgs minimal specialArgs;
220 extraConfigurations = extraConfigurations ++ [(
221+ { config, ... }:
222 {
223 virtualisation.qemu.package = qemu_pkg;
224···231 # copied to the image.
232 virtualisation.additionalPaths =
233 lib.optional
234+ # A testScript may evaluate nodes, which has caused
235+ # infinite recursions. The demand cycle involves:
236+ # testScript -->
237+ # nodes -->
238+ # toplevel -->
239+ # additionalPaths -->
240+ # hasContext testScript' -->
241+ # testScript (ad infinitum)
242+ # If we don't need to build an image, we can break this
243+ # cycle by short-circuiting when useNixStoreImage is false.
244+ (config.virtualisation.useNixStoreImage && builtins.hasContext testScript')
245 (pkgs.writeStringReferencesToFile testScript');
246247 # Ensure we do not use aliases. Ideally this is only set
···22 # Use upstream config files passed through spa-json-dump as the base
23 # Patched here as necessary for them to work with this module
24 defaults = {
25- client = builtins.fromJSON (builtins.readFile ./client.conf.json);
26- client-rt = builtins.fromJSON (builtins.readFile ./client-rt.conf.json);
27- jack = builtins.fromJSON (builtins.readFile ./jack.conf.json);
28- # Remove session manager invocation from the upstream generated file, it points to the wrong path
29- pipewire = builtins.fromJSON (builtins.readFile ./pipewire.conf.json);
30- pipewire-pulse = builtins.fromJSON (builtins.readFile ./pipewire-pulse.conf.json);
31 };
3233 configs = {
···22 # Use upstream config files passed through spa-json-dump as the base
23 # Patched here as necessary for them to work with this module
24 defaults = {
25+ client = builtins.fromJSON (builtins.readFile ./daemon/client.conf.json);
26+ client-rt = builtins.fromJSON (builtins.readFile ./daemon/client-rt.conf.json);
27+ jack = builtins.fromJSON (builtins.readFile ./daemon/jack.conf.json);
28+ pipewire = builtins.fromJSON (builtins.readFile ./daemon/pipewire.conf.json);
29+ pipewire-pulse = builtins.fromJSON (builtins.readFile ./daemon/pipewire-pulse.conf.json);
030 };
3132 configs = {
···39 '';
40 };
410000000000000000000000042 # Boot without having created an EFI entry--instead using default "/EFI/BOOT/BOOTX64.EFI"
43 fallback = makeTest {
44 name = "systemd-boot-fallback";
···1112cd "$NIXPKGS_ROOT"
13nix-update pipewire
14-outputs=$(nix-build . -A pipewire -A pipewire.mediaSession)
000000000000015for p in $outputs; do
16- conf_files=$(find "$p/nix-support/etc/pipewire/" -name '*.conf.json')
17 for c in $conf_files; do
18 file_name=$(basename "$c")
19- if [[ ! -e "nixos/modules/services/desktops/pipewire/$file_name" ]]; then
20 echo "New file $file_name found! Add it to the module config and passthru tests!"
21 fi
22- install -m 0644 "$c" "nixos/modules/services/desktops/pipewire/"
23 done
24done
···1112cd "$NIXPKGS_ROOT"
13nix-update pipewire
14+outputs=$(nix-build . -A pipewire)
15+for p in $outputs; do
16+ conf_files=$(find "$p/nix-support/" -name '*.conf.json')
17+ for c in $conf_files; do
18+ file_name=$(basename "$c")
19+ if [[ ! -e "nixos/modules/services/desktops/pipewire/daemon/$file_name" ]]; then
20+ echo "New file $file_name found! Add it to the module config and passthru tests!"
21+ fi
22+ install -m 0644 "$c" "nixos/modules/services/desktops/pipewire/daemon/"
23+ done
24+done
25+26+nix-update pipewire-media-session
27+outputs=$(nix-build . -A pipewire-media-session)
28for p in $outputs; do
29+ conf_files=$(find "$p/nix-support/" -name '*.conf.json')
30 for c in $conf_files; do
31 file_name=$(basename "$c")
32+ if [[ ! -e "nixos/modules/services/desktops/pipewire/media-session/$file_name" ]]; then
33 echo "New file $file_name found! Add it to the module config and passthru tests!"
34 fi
35+ install -m 0644 "$c" "nixos/modules/services/desktops/pipewire/media-session/"
36 done
37done
···1diff --git a/overlayunit.pas b/overlayunit.pas
2-index de8725f..005f171 100644
3--- a/overlayunit.pas
4+++ b/overlayunit.pas
5-@@ -5377,7 +5377,7 @@ begin
6 //Determine Mangohud dependency status
78 //locate MangoHud and store result in tmp folder
···1112 // Assign Text file dependency_mangohud to variable mangohudVAR
13 AssignFile(mangohudVAR, '/tmp/goverlay/dependency_mangohud');
14-@@ -5386,7 +5386,7 @@ begin
15 CloseFile(mangohudVAR);
1617 // Read String and store value on mangohuddependencyVALUE based on result
···20 mangohuddependencyVALUE := 1
21 else
22 mangohuddependencyVALUE := 0;
23-@@ -5395,7 +5395,7 @@ begin
24 //Determine vkBasalt dependency staus
2526 //locate vkBasalt and store result in tmp folder
···2930 // Assign Text file dependency_mangohud to variable mangohudVAR
31 AssignFile(vkbasaltVAR, '/tmp/goverlay/dependency_vkbasalt');
32-@@ -5404,7 +5404,7 @@ begin
33 CloseFile(vkbasaltVAR);
3435 // Read String and store value on vkbasaltdependencyVALUE based on result
···1diff --git a/overlayunit.pas b/overlayunit.pas
2+index a56cea7..9a4f547 100644
3--- a/overlayunit.pas
4+++ b/overlayunit.pas
5+@@ -4880,7 +4880,7 @@ begin
6 //Determine Mangohud dependency status
78 //locate MangoHud and store result in tmp folder
···1112 // Assign Text file dependency_mangohud to variable mangohudVAR
13 AssignFile(mangohudVAR, '/tmp/goverlay/dependency_mangohud');
14+@@ -4889,7 +4889,7 @@ begin
15 CloseFile(mangohudVAR);
1617 // Read String and store value on mangohuddependencyVALUE based on result
···20 mangohuddependencyVALUE := 1
21 else
22 mangohuddependencyVALUE := 0;
23+@@ -4898,7 +4898,7 @@ begin
24 //Determine vkBasalt dependency staus
2526 //locate vkBasalt and store result in tmp folder
···2930 // Assign Text file dependency_mangohud to variable mangohudVAR
31 AssignFile(vkbasaltVAR, '/tmp/goverlay/dependency_vkbasalt');
32+@@ -4907,7 +4907,7 @@ begin
33 CloseFile(vkbasaltVAR);
3435 // Read String and store value on vkbasaltdependencyVALUE based on result