diff --git a/pkgs/by-name/th/thelounge/package.nix b/pkgs/by-name/th/thelounge/package.nix index 2c0114da11c1..3e54f1d3c27e 100644 --- a/pkgs/by-name/th/thelounge/package.nix +++ b/pkgs/by-name/th/thelounge/package.nix @@ -6,7 +6,7 @@ nodejs, yarn, fixup-yarn-lock, - python311, + python3, npmHooks, cctools, sqlite, @@ -39,13 +39,12 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-csVrgsEy9HjSBXxtgNG0hcBrR9COlcadhMQrw6BWPc4="; }; - # Distutils was deprecated in 3.10, and removed in 3.12. This build needs it. An alternative could be adding - # setuptools, but testing with that and 3.12 still fails. nativeBuildInputs = [ nodejs yarn fixup-yarn-lock - python311 + python3 + python3.pkgs.distutils npmHooks.npmInstallHook ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools ]; buildInputs = [ sqlite ];