diff --git a/tests/test-sources/modules/dependencies.nix b/tests/test-sources/modules/dependencies.nix index 3e05e2ad..41a08771 100644 --- a/tests/test-sources/modules/dependencies.nix +++ b/tests/test-sources/modules/dependencies.nix @@ -5,6 +5,10 @@ }: let disabledDeps = [ + # TODO: 2025-04-20: build failure of godot_4 + # https://github.com/NixOS/nixpkgs/issues/399818 + # https://github.com/NixOS/nixpkgs/pull/400347 + "godot" ]; inherit (pkgs.stdenv) hostPlatform; diff --git a/tests/test-sources/plugins/by-name/godot/default.nix b/tests/test-sources/plugins/by-name/godot/default.nix index 50abcf3a..9288082c 100644 --- a/tests/test-sources/plugins/by-name/godot/default.nix +++ b/tests/test-sources/plugins/by-name/godot/default.nix @@ -1,14 +1,25 @@ -{ pkgs, ... }: { - empty = { + lib, + pkgs, + ... +}: +let + enable = + # TODO: 2025-04-20: build failure of godot_4 + # https://github.com/NixOS/nixpkgs/issues/399818 + # https://github.com/NixOS/nixpkgs/pull/400347 + false # Godot is only available on Linux - plugins.godot.enable = pkgs.stdenv.isLinux; + && lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.godot_4; +in +lib.optionalAttrs enable { + empty = { + plugins.godot.enable = true; }; defaults = { plugins.godot = { - # Godot is only available on Linux - enable = pkgs.stdenv.isLinux; + enable = true; settings = { executable = "godot";