diff --git a/nixos/overlay.nix b/nixos/overlay.nix index 8c61fa43..9238b59e 100644 --- a/nixos/overlay.nix +++ b/nixos/overlay.nix @@ -15,6 +15,13 @@ let }; in { + # Fix poetry pbs-installer version constraint issue + poetry = prev.poetry.overrideAttrs (oldAttrs: { + dontCheckRuntimeDeps = true; + }); + + # Hyprland and hy3 are provided via flakes for proper plugin compatibility + # See flake.nix inputs: hyprland and hy3 # claude-code = prev.claude-code.overrideAttrs (oldAttrs: { # inherit (claudeCodeVersion) version npmDepsHash; # src = prev.fetchurl { @@ -23,20 +30,21 @@ in # }; # }); - codex = prev.codex.overrideAttrs (oldAttrs: rec { - inherit (codexVersion) version cargoHash; - src = prev.fetchFromGitHub { - owner = "openai"; - repo = "codex"; - tag = "rust-v${codexVersion.version}"; - inherit (codexVersion) hash; - }; - cargoDeps = prev.rustPlatform.fetchCargoVendor { - inherit src; - sourceRoot = "${src.name}/codex-rs"; - hash = cargoHash; - }; - }); + # codex = prev.codex.overrideAttrs (oldAttrs: rec { + # inherit (codexVersion) version cargoHash; + # src = prev.fetchFromGitHub { + # owner = "openai"; + # repo = "codex"; + # tag = "rust-v${codexVersion.version}"; + # inherit (codexVersion) hash; + # }; + # cargoDeps = prev.rustPlatform.fetchCargoVendor { + # inherit src; + # sourceRoot = "${src.name}/codex-rs"; + # hash = cargoHash; + # }; + # }); + # nvidia-container-toolkit = prev.nvidia-container-toolkit.overrideAttrs(old: { # postInstall = '' # ${old.postInstall or ""} @@ -188,13 +196,6 @@ in in final.python3.withPackages my-python-packages; - # Fix synergy build with GCC 15 - missing #include - synergy = prev.synergy.overrideAttrs (oldAttrs: { - postPatch = (oldAttrs.postPatch or "") + '' - sed -i '/#include /a #include ' src/lib/server/InputFilter.cpp - ''; - }); - pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ ( python-final: python-prev: {