Skip to content

Commit a5d3bb2

Browse files
committed
pdfding: fix package version
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com> (cherry picked from commit 0e34747)
1 parent 99132c2 commit a5d3bb2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pkgs/by-name/pd/pdfding/package.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ python.pkgs.buildPythonPackage (finalAttrs: {
2424
strictDeps = true;
2525
__structuredAttrs = true;
2626

27-
# remove supervisor from dependencies
27+
# remove supervisor from dependencies and fix version
2828
postPatch = ''
2929
sed -i 's/supervisor.*$//' pyproject.toml
30+
sed -i 's/^version = .*$/version = "${finalAttrs.version}"/' pyproject.toml
3031
'';
3132

3233
dependencies =

0 commit comments

Comments
 (0)