barman: specify path to file
Resolves: https://github.com/NixOS/nixpkgs/issues/422635
This commit is contained in:
parent
7004aa5cbb
commit
8096d0bf37
@ -3,6 +3,7 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch2,
|
fetchpatch2,
|
||||||
|
file,
|
||||||
python3Packages,
|
python3Packages,
|
||||||
rsync,
|
rsync,
|
||||||
versionCheckHook,
|
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; [
|
build-system = with python3Packages; [
|
||||||
distutils
|
distutils
|
||||||
setuptools
|
setuptools
|
||||||
|
Loading…
x
Reference in New Issue
Block a user