Add poetry fix and comment out codex override

- Fix poetry pbs-installer version constraint issue with dontCheckRuntimeDeps
- Comment out codex override (using nixpkgs version)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-20 13:35:03 -05:00
parent 658f424cf8
commit b3b425833b

View File

@@ -15,6 +15,13 @@ let
}; };
in 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: { # claude-code = prev.claude-code.overrideAttrs (oldAttrs: {
# inherit (claudeCodeVersion) version npmDepsHash; # inherit (claudeCodeVersion) version npmDepsHash;
# src = prev.fetchurl { # src = prev.fetchurl {
@@ -23,20 +30,21 @@ in
# }; # };
# }); # });
codex = prev.codex.overrideAttrs (oldAttrs: rec { # codex = prev.codex.overrideAttrs (oldAttrs: rec {
inherit (codexVersion) version cargoHash; # inherit (codexVersion) version cargoHash;
src = prev.fetchFromGitHub { # src = prev.fetchFromGitHub {
owner = "openai"; # owner = "openai";
repo = "codex"; # repo = "codex";
tag = "rust-v${codexVersion.version}"; # tag = "rust-v${codexVersion.version}";
inherit (codexVersion) hash; # inherit (codexVersion) hash;
}; # };
cargoDeps = prev.rustPlatform.fetchCargoVendor { # cargoDeps = prev.rustPlatform.fetchCargoVendor {
inherit src; # inherit src;
sourceRoot = "${src.name}/codex-rs"; # sourceRoot = "${src.name}/codex-rs";
hash = cargoHash; # hash = cargoHash;
}; # };
}); # });
# nvidia-container-toolkit = prev.nvidia-container-toolkit.overrideAttrs(old: { # nvidia-container-toolkit = prev.nvidia-container-toolkit.overrideAttrs(old: {
# postInstall = '' # postInstall = ''
# ${old.postInstall or ""} # ${old.postInstall or ""}
@@ -188,13 +196,6 @@ in
in in
final.python3.withPackages my-python-packages; final.python3.withPackages my-python-packages;
# Fix synergy build with GCC 15 - missing #include <cstdint>
synergy = prev.synergy.overrideAttrs (oldAttrs: {
postPatch = (oldAttrs.postPatch or "") + ''
sed -i '/#include <cstring>/a #include <cstdint>' src/lib/server/InputFilter.cpp
'';
});
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
( (
python-final: python-prev: { python-final: python-prev: {