barman: specify path to file (#422683)

This commit is contained in:
Aleksana
2025-07-05 21:23:04 +08:00
committed by GitHub
+7
View File
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
fetchpatch2,
file,
python3Packages,
rsync,
versionCheckHook,
@@ -30,6 +31,12 @@ python3Packages.buildPythonApplication rec {
})
];
# https://github.com/EnterpriseDB/barman/blob/release/3.14.1/barman/encryption.py#L214
postPatch = ''
substituteInPlace barman/encryption.py \
--replace-fail '"file"' '"${lib.getExe file}"'
'';
build-system = with python3Packages; [
distutils
setuptools