Skip to content

Commit 6f3ee12

Browse files
committed
build: update uv2nix usage
1 parent ba24e4d commit 6f3ee12

File tree

3 files changed

+45
-11
lines changed

3 files changed

+45
-11
lines changed

default.nix

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
asciinema-agg,
1010
uv2nix,
1111
pyproject-nix,
12+
pyproject-build-systems,
1213
}:
1314
let
1415
pdocRepo = fetchFromGitHub {
@@ -98,6 +99,7 @@ let
9899
};
99100
pythonSet = baseSet.overrideScope (
100101
lib.composeManyExtensions [
102+
pyproject-build-systems.overlays.default
101103
pyprojectOverlay
102104
pyprojectOverrides
103105
]

flake.lock

+34-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+9-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,20 @@
1212
inputs.nixpkgs.follows = "nixpkgs";
1313
};
1414
pyproject-nix = {
15-
url = "github:nix-community/pyproject.nix";
15+
url = "github:pyproject-nix/pyproject.nix";
1616
inputs.nixpkgs.follows = "nixpkgs";
1717
};
1818
uv2nix = {
19-
url = "github:adisbladis/uv2nix";
19+
url = "github:pyproject-nix/uv2nix";
2020
inputs.pyproject-nix.follows = "pyproject-nix";
2121
inputs.nixpkgs.follows = "nixpkgs";
2222
};
23+
pyproject-build-systems = {
24+
url = "github:pyproject-nix/build-system-pkgs";
25+
inputs.pyproject-nix.follows = "pyproject-nix";
26+
inputs.uv2nix.follows = "uv2nix";
27+
inputs.nixpkgs.follows = "nixpkgs";
28+
};
2329
};
2430
outputs =
2531
inputs@{
@@ -28,7 +34,6 @@
2834
flake-parts,
2935
systems,
3036
flocken,
31-
pyproject-nix,
3237
uv2nix,
3338
...
3439
}:
@@ -74,7 +79,7 @@
7479
};
7580
};
7681
legacyPackages.pythonSet = pkgs.callPackage ./default.nix {
77-
inherit (inputs) uv2nix pyproject-nix;
82+
inherit (inputs) uv2nix pyproject-nix pyproject-build-systems;
7883
};
7984
packages = {
8085
inherit (pythonSet.makejinja.passthru) docs;

0 commit comments

Comments
 (0)