treewide: disable godot (build failure)

This commit is contained in:
Gaetan Lepage 2025-04-20 22:22:32 +02:00 committed by github-actions[bot]
parent d6709382e7
commit 9eb03ab777
2 changed files with 20 additions and 5 deletions

View file

@ -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;

View file

@ -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";