templates/python-uv: use build system package repository
This commit is contained in:
parent
52042f73bd
commit
d0960631e3
|
@ -26,7 +26,13 @@
|
||||||
(pkgs.callPackage inputs.pyproject-nix.build.packages {
|
(pkgs.callPackage inputs.pyproject-nix.build.packages {
|
||||||
python = pkgs.python311;
|
python = pkgs.python311;
|
||||||
}).overrideScope
|
}).overrideScope
|
||||||
(lib.composeExtensions overlay pyprojectOverrides);
|
(
|
||||||
|
lib.composeManyExtensions [
|
||||||
|
inputs.pyproject-build-systems.overlays.default
|
||||||
|
overlay
|
||||||
|
pyprojectOverrides
|
||||||
|
]
|
||||||
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devshells.default = {
|
devshells.default = {
|
||||||
|
@ -104,5 +110,11 @@
|
||||||
inputs.pyproject-nix.follows = "pyproject-nix";
|
inputs.pyproject-nix.follows = "pyproject-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
pyproject-build-systems = {
|
||||||
|
url = "github:pyproject-nix/build-system-pkgs";
|
||||||
|
inputs.pyproject-nix.follows = "pyproject-nix";
|
||||||
|
inputs.uv2nix.follows = "uv2nix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue