nixpkgs-review: use python3Packages instead of python3.pkgs to fix splicing

This commit is contained in:
Nick Cao 2024-09-28 13:53:41 -04:00
parent 2e913231ee
commit 7a96b48e2a
No known key found for this signature in database

View File

@ -1,6 +1,6 @@
{
lib,
python3,
python3Packages,
fetchFromGitHub,
installShellFiles,
@ -15,7 +15,7 @@
withNom ? false,
}:
python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "nixpkgs-review";
version = "2.10.5";
pyproject = true;
@ -28,11 +28,11 @@ python3.pkgs.buildPythonApplication rec {
};
build-system = [
python3.pkgs.setuptools
python3Packages.setuptools
];
dependencies = lib.optionals withAutocomplete [
python3.pkgs.argcomplete
python3Packages.argcomplete
];
nativeBuildInputs =
@ -40,7 +40,7 @@ python3.pkgs.buildPythonApplication rec {
installShellFiles
]
++ lib.optionals withAutocomplete [
python3.pkgs.argcomplete
python3Packages.argcomplete
];
makeWrapperArgs =